Multiple choice technology mainframe

what is the maximum number of characters can be used to name the variable in REXX

  1. 2

  2. 30

  3. 250

  4. 255

  5. 125

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

REXX allows variable names up to 250 characters in length, providing considerable flexibility for descriptive naming. This generous limit supports self-documenting code with meaningful variable names without hitting length restrictions. The variable names can include letters, numbers, and certain special characters (though they cannot start with a number). Options A (2) and E (125) are too restrictive, while option D (255) is close but not the actual REXX standard limit.

AI explanation

Correct answer: 250. In classic REXX, a symbol (which includes variable names) can be up to 250 characters long — this limit comes from the original REXX language specification (as implemented on VM/CMS and z/OS TSO/E REXX). The other numbers are plausible-looking distractors but don't match the documented limit.