aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Mainframe Programming: COBOL, CICS, and REXX
  • Which variable will have the value returned by a subrouti...
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

In REXX, when a subroutine completes execution and returns a value using the RETURN instruction, that value is automatically stored in the special variable named RESULT.

Keep practicing — related questions

  • Which variable stores the parameters passed to subroutine?
  • When a RETURN clause is used in a subroutine, a value can be passed back to the calling EXEC. Which stateme...
  • When a RETURN clause is used in a subroutine, a value can be passed back to the calling EXEC. Which stateme...
  • Which instruction is used to transfer the control to a subroutine?
  • Which instruction is used to transfer the control to a subroutine?
  • If the program completes executing successfully, what value should the function main() return?
  • Which of the following instructions is encountered by microprocessor at the end of subroutine due to which ...
  • The variables or expressions referenced in the parameter list of a subprogram call are Actual parameters?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy