1.Continuing JCL Statements
When the total length of the fields on a control statement exceeds 71 columns, continue the fields onto one or more card images.
The following are JCL statements that you cannot continue. While you cannot continue these statements, you can code as many separate statements as you need.
For all other JCL statements, you can continue the parameter field or the comments field on the JCL statement. If you continue both the parameter field and the comments field on the same card image, the system ignores the indication to continue the comment. How you continue a parameter field depends on whether or not the parameter is enclosed in apostrophes.
Continuing the Parameter Field
Continuing Parameter Fields Enclosed in Apostrophes
To continue a parameter that is enclosed in apostrophes:
Do not code an apostrophe in column 71 of a JCL statement that is continued. The system interprets the apostrophe in column 71 as the final character in the statement and ignores the continuation. See the following example:
To correct this problem, split the statement in a different way. For example, start COMMAND in a later column or interchange non-positional parameters in the statement.
Continuing the Comments Field
Include comments by following an interrupted parameter field with at least one blank. To continue a comment:
Examples of Continued Statements
This example shows continuation of the parameter field. The parameter field is continued from the first card image to the second card image.
This example shows continuation of the parameter field. The parameter field is continued from the first card image to the second card image. The comment on the first card image is not continued to the next card image.
This example shows continuation of the parameter field and the comments field. The parameter field is continued from the first card image to the second and third card images. The comments field is continued from the third card image to the fourth and fifth card images.
This example shows continuation of a parameter field when a parameter is enclosed in apostrophes. The parameter field is continued from column 71 of the first card image to column 16 of the second.
Continuing JES2 Control Statements
The only JES2 control statement that you can continue is the /*OUTPUT statement. For all other JES2 control statements, code the statement as many times as needed.
Continuing JES3 Control Statements
Continue JES3 statements, except the command statement or //*NETACCT statement, by:
On the JES3 //*NET statement, each parameter must appear entirely on one statement; a subparameter cannot be continued after a comma, except for the RELEASE parameter. To continue the RELEASE parameter, end the statement with the comma following a job name and continue the next statement with the next job name. The left parenthesis appears at the beginning of the jobname list and the right parenthesis appears at the end of the list. For example:
If the parameters on a //*NETACCT statement cannot fit on one statement, code more than one //*NETACCT statement.
IBM-JCL Related Interview Questions
|VSAM Interview Questions||IBM - VSAM Interview Questions|
|IBM-CICS Interview Questions||JCL Interview Questions|
|IBM DB2 Interview Questions||COBOL Interview Questions|
|DB2 Using SQL Interview Questions||IBM-JCL&VSAM Interview Questions|
|IMS/DB Interview Questions||Mainframe DB2 Interview Questions|
Job Control Statements
Job Control Tasks
Format Of Statements
Syntax Of Parameters
Procedures And Symbols
Jcl Command Statement.
Special Dd Statements
If/then/else/endif Statement Construct
Output Jcl Statement
Xmit Jcl Statement
Jes2 Control Statements
Jes3 Control Statements
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.