Multiple choice technology mainframe

Which of the following names of variables for data items are syntactically correct? (2 answers)

  1. READ

  2. RECORD-IN

  3. @_RECORD

  4. IN/OUTRECORD

  5. 1_TELEPHONE

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

In PL/I, variable names can include alphanumeric characters, extra characters like '@', and the underscore '_'. In addition, PL/I does not have reserved keywords, so 'READ' is a valid variable name. Hyphens '-' and slashes '/' are not allowed, and names cannot start with a digit.