Multiple choice technology mainframe

Which of the following can be used to read and write from a file? Choose all that apply

  1. DATA STACK

  2. QUEUE

  3. COMPOUND VARIABLE

  4. SYMBOLIC VARIABLE

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

In REXX, the DATA STACK can be used for file I/O operations - you can PUSH lines to write to a file and PULL/QUEUE to read from a file. QUEUE is used for stack manipulation but not direct file I/O. COMPOUND and SYMBOLIC variables are data types, not I/O mechanisms.