Multiple choice technology mainframe

To receive input from the screen, we use the command:

  1. Read

  2. Pull

  3. Accept

  4. Receive

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

REXX uses the PULL instruction to read input from the standard input stream (the terminal/screen). PULL reads a line of text and parses it into variables. The PARSE instruction can also be used with PULL for more control, but PULL alone is the simple input method.

AI explanation

In REXX, PULL (or PARSE PULL) reads a line from the external data queue, or directly from the terminal if the queue is empty — this is the standard way a REXX exec receives interactive input from the screen. READ, ACCEPT, and RECEIVE are not REXX input instructions (ACCEPT is a COBOL statement for terminal input, and RECEIVE is a CICS/mainframe messaging verb, not REXX), so in a REXX context they're incorrect.