What is the maximum number of lines allowed in one JCL statement?
-
126
-
255
-
512
-
1024
Reveal answer
Fill a bubble to check yourself
A
Correct answer
Explanation
A single JCL statement (including all its continuation lines) can span a maximum of 126 lines. Each individual line is limited to 80 characters, but the statement itself can continue across many lines.
AI explanation
Mainframe JCL references commonly document that a single JCL statement, counting its initial line plus continuation lines, can run up to 255 lines total, not 126. If the marked answer of 126 is meant to reflect that same well-known limit, it appears to state a nonstandard or incorrect figure — the widely cited IBM/mainframe reference number for this exact trivia question is 255.