Multiple choice technology mainframe

if more than one sub-paramter or if there is any special character then enclose withing quotes/paranthesis. Max of 100 characters can be passed to cobol pgm including quotes/paranthesis

  1. True

  2. False

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

When passing parameters to a COBOL program through JCL, if the parameter contains special characters or spaces, it must be enclosed in quotes. The total parameter length limit is 100 characters, including the quotes or parentheses used for enclosure.

AI explanation

This is a True/False statement about the JCL PARM parameter on the EXEC statement. The stated rules are correct: when a PARM value contains more than one sub-parameter or any special character (blanks, commas, parentheses, equals, etc.), it must be enclosed in apostrophes/parentheses; and the classic maximum length of the PARM value passed to a program (including the enclosing quotes/parentheses) is 100 characters. IBM documents this 100-character limit for the EXEC PARM (only relaxed for certain modern Enterprise COBOL/PL/I/C++ inline-option user builds). Since the statement accurately reflects standard documented PARM rules, the correct answer is 'True' (id 601281). The DB marks 'False' as correct, which is wrong.