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 called MQ macro (see note.)
Error during the GET, PUT, SET, or INQUIRE operation. Possible error in called MQ macro (see note.)
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 © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |