Multiple choice technology mainframe

Which variable will have the value returned by a subroutine once it completes?

  1. RC

  2. RETVAL

  3. RESULT

  4. RV

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

RESULT is the special variable in REXX that receives the return value from a subroutine called with CALL. RC holds the return code from commands, while RETVAL and RV are not standard REXX variables.