Variables MQ.RETURN and MQ.REASON are created after each CONNECT, OPEN, GET, PUT, CLOSE, DISCONNECT command executes. The MQ.RETURN variable contains the same value as RC. The MQ.REASON variable contains detail information about the RETURN code.
ADDRESS MQ produces the following return and reason codes:
Okay
PSF error
Error when accessing or creating a REXX variable.
Error during the CONNECT, DISCONNECT, OPEN, or CLOSE operation.
Possible error in the called MQ macro (see the note).
Error during the GET, PUT, SET, or INQUIRE operation. Possible error in the called MQ macro (see the note).
Possible error with ccsid or data format.
Unexpected ABEND.
ADDRESS MQ could not send or retrieve MQ messages. Check to ensure that the INITMSF parameter is set to YES.
Note: To see details about MQ macro reason codes, see the IBM WebSphere MQ for z/OS Messages and Codes. MQ.REASON contains the decimal form of the MQ reason code.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|