Previous Topic: LISTMEM Argument

Next Topic: Examples: OPSPRMLB

OPSRC Variable and Returned Values

OPSPRMLB creates an OPS/REXX variable, OPSRC, to indicate the success or failure of the function. OPSRC contains one of the following values:

0

Function was called properly. The function returns a positive value indicating the number of data lines returned in the external data queue.

4 to 40

IEFPRMLB service error. The external data queue (EDQ) has the return code and reason code message. For the return code and reason code description, see the IEFPRMLB Macro section of the z/OS Assembler Reference guide.

1016

Function was called in an invalid environment. It cannot be called in cross memory mode like most rules.

1028

Product service error.

Note: A syntax error in the function call statement causes an OPS/REXX error and terminates the program. A REXX error 40, Incorrect Call to Routine, is generated. The returned value from the function is a positive number denoting the number of lines in the external data queue.