Multiple choice technology mainframe

EXIT will terminate and leave a REXX exec unconditionally and does it have the option to return a value?

  1. Always returns a value.

  2. Never returns a value.

  3. Returns when RC is coded

  4. I am skipping this!!

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

In REXX, the EXIT instruction terminates the program immediately. It can optionally return a value to the caller (such as the operating system or another script) if an expression or a Return Code (RC) variable is provided. Without an expression, it returns no value. The other options are incorrect because returning a value is optional, not mandatory or impossible.