CONDITION-CODE

As with HP COBOL, CONDITION-CODE is set to the condition code returned by an MPE/iX intrinsic function when the function is called with the CALL statement. It can also be set by a called C program if the following code is included in the C program.

Extern   int32_t   Ahp_ccode;

   Ahp_ccode = 0;

CONDITION-CODE takes the value of "Ahp_ccode" in the COBOL program.