Multiple choice technology mainframe

When the language processor transfers control to another routine or another part of the exec, it sets the ----special variable to the line number from which the transfer occurred.

  1. SIG

  2. SIGL

  3. SIL

  4. SIGN

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

In REXX, the SIGL special variable is automatically set by the language processor to the line number from which the most recent transfer of control occurred. This is useful for debugging and error handling to track the execution path. SIG stands for 'signal' and L for 'line'.

AI explanation

SIGL is the special REXX variable that holds the line number of the instruction from which control was transferred, such as a CALL or a signal to a label. It lets the invoked routine determine exactly where execution branched from. The similarly-spelled options (SIG, SIL, SIGN) are not recognized REXX special variables.