Products Downloads


French version


 

 

ADELIA

VADELIA

SADELIA

WADELIA

MADELIA

(I/B)

(I/B) (C/S)

(B) (S)

(I/B) (C/S)

(I) (C/S)

 

Type

9.0 N

 

Use

This variable contains the last instruction return code.

It is updated by a great number of instructions. The help topic of each instruction concerned contains the possible values for the return code.

 

Click here to reach the documentation on 4GL instructions.

 

In VADELIA, WADELIA and MADELIA programs, you can test *RETURN_CODE after a server block. If the return code is higher than 10,000, this means that a middleware error occurred during the service call of the corresponding server block (the middleware error code is obtained by subtracting 10,000).

 

Note: If you do not want the blocking error box containing the Middleware error to be displayed, set the I/O error generation data to Y in the generation characteristics for a program.

 

Possible values:

0

Execution completed successfully.

other

Error during execution; in this case, the variable contains the system value of the error.

 

Example

IF *RETURN_CODE = 0

...

 

↑ Top of page

  • Aucune étiquette