Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
SIGL z/OS TSO/E REXX User's Guide SA32-0982-00 |
|
The SIGL
special variable is used in connection with a transfer of control
within an exec because of a function, or a SIGNAL or CALL instruction.
When the language processor transfers
control to another routine or another part of the exec, it sets the
SIGL special variable to the line number from which the transfer occurred.
If the called routine itself calls another routine, SIGL is reset to the line number from which the most recent transfer occurred. SIGL and the SIGNAL ON ERROR instruction can help determine
what command caused an error and what the error was. When SIGNAL
ON ERROR is included in an exec, any host command that returns a nonzero
return code causes a transfer of control to a routine named "error".
The error routine runs regardless of other actions that would normally
take place, such as the display of error messages.
For more information about the SIGNAL instruction, see z/OS TSO/E REXX Reference. |
Copyright IBM Corporation 1990, 2014
|