Multiple choice technology mainframe

. Complete correctly: A REXX program (or REXX EXEC) called DEMO is stored in the partitioned dataset TBISUSR.REXXCRS.EXEC. Execution is possible...

  1. ... via the TSO command: EXEC 'TBISUSR.REXXCRS.EXEC(DEMO)' EXEC

  2. ...only after allocation of the partitioned dataset TBISUSR.REXXCRS.EXEC to the DD

  3. ... via the TSO command: CALL 'TBISUSR.REXXCRS.EXEC(DEMO)'

  4. ... only after compilation to COBOL, and via the TSO command

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

In TSO, REXX execs stored in partitioned datasets (PDS) are executed using the EXEC command with the dataset member in parentheses. The EXEC command is built into TSO/ISPF for REXX execution. Alternative methods like CALL are for internal REXX routines, not PDS members.

AI explanation

On TSO, the EXEC command with the trailing 'EXEC' operand explicitly tells TSO to interpret the target member as a REXX exec rather than a CLIST: EXEC 'TBISUSR.REXXCRS.EXEC(DEMO)' EXEC. No prior ALLOC to a DD is required since the fully-qualified dataset(member) is given directly. CALL is a REXX-internal instruction for invoking subroutines, not a TSO command for launching an exec, and REXX execs run interpreted — they don't need to be compiled to COBOL first.