Previous Topic: OPSARM Function

Next Topic: Additional Variable Output

Values Returned

The OPSARM function returns the return code from the ARM service request in decimal as its returned value. The reason code value from the ARM request is returned in the decimal in a REXX variable named OPSRECD. For the meaning of the ARM return and reason codes, see the IXCARM section of the IBM documentation.

The following values are returned:

RC=0 RE=0

Request completed without any warnings.

RC=4 RE=260

Register request for restart with original start text or JCL.

RC=4 RE=264

Register request for restart with different start text or JCL.

RC=4 RE=516

WAITPRED request timed out. Predecessor did not issue READY within the time limit.

RC=4 RE=772

READY request completed, but some predecessor element has not issued a READY. WAITPRED was not issued when predecessor elements were defined.

RC>4 RE>0

Request failed. See IXCYARM table of return and reason codes. Macro IXCYARM also contains return and reason code meanings.