Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Return codes from PDF edit macro commands z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
Every CLIST edit macro command sets variable &LASTCC with a
return code. REXX edit macros set variable RC. The return codes range from 0 to 20.
Often, the only two possible return codes are 0 and 20. The CAPS command is an example of such a command. Any valid form of CAPS issues a return code of 0. The dialog variables ZEDMSGNO (message identifier), ZEDISMSG (short message text) and ZEDILMSG (first 240 bytes of the long message text) are available to be tested for or displayed within edit macros. These variables contain values relating to any message that would have been displayed at the terminal had the user issued the command directly from the command line. They can be useful in situations where the return code does not provide enough detail. |
Copyright IBM Corporation 1990, 2014
|