Multiple choice technology mainframe

SIGL instruction ?

  1. set to the line number of the REXX program from which the transfer of Control statment

  2. set to the command of the REXX program causes error

  3. set to the subroutine name of the REXX program causes error

  4. set to the return code that was set by an environment command

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In REXX, SIGL is a special variable automatically set by the interpreter to the line number of the instruction that caused a transfer of control (such as a CALL, a function invocation, or a SIGNAL instruction). This is extremely useful for error trapping and debugging.