Return Codes

n
specifies the return code passed back by CICS if an error is detected
0
Normal return
-101
Invalid command
Any warning or error messages are placed in the variable CEMTTOUT. The results of the execution, if any, are placed in the variable CEMTEOUT. The maximum length returned in CEMTEOUT is approximately 28K bytes. Each variable has the following format:
  • Binary halfword containing inclusive length of field.
  • Binary halfword containing the number of messages produced.
  • Binary halfword containing the highest message-severity: 0 and 4 continue to execution; 8 and 12 do not continue to execution.
  • Variable-length data containing:
    • For CEMTTOUT: messages produced from translation stage of command
    • For CEMTEOUT: messages produced from execution stage of command
The format of this data is not guaranteed from release to release, but it is the same as that displayed by CEMT.

Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/dfhrx000370.html