Jcl 2 (continued: statement format specification)

Source: Internet
Author: User

In a PDF provided by the instructor, I found a description of the jcl writing format, as follows:

 

General statement format specification

In jcl, all statements except the/* Statement start with the // symbol in the first and second columns. The system specifies that these statements are 80 columns in length. These 80 columns are logically divided into five areas: the identifier area, name area, operator area, parameter area, and description area, namely:

Identifier Area Name Area Operator Area Parameter Area Description Area
// Or // * Or /* Name Operator Parameter Comment

Generally, the identifier area is "//", which indicates that the statement is a jcl statement. The identifier area is located in the first and second columns of each statement.
In special cases, the symbols in the identifier area will change. For example, the "/*" Statement and "// *" discussed in 3.2.1
Statement, the symbols "/*" and "// *" are used in the identifier area respectively.

· Name Area
The name area specifies a statement to facilitate system control blocks or other statements to reference it. The name can be 1 ~ It can contain 8 letters, numbers, and wildcards, but the first character must be a letter or wildcard and must start from the third column. The name must be followed by one or more spaces. You can select a name to express the role of this jcl statement. The following are examples of correct and wrong name zones:
Correct or wrong
// Z // 9z
// Backup #1 // tapebackup
// #99 // test * 9
// $ Exam // exam (0)

· Operator Area
The operator area is located in the name area and specifies the statement type: Job, exec, DD, Proc, pend, or operator command. The name must be followed by one or more spaces. For example:
// Example job
// Step 1 Exec
// Indd1 dd

· Parameter Zone
After the operator area, the parameter area includes comma-separated parameters, which are composed of predefined keywords. The value of these parameters must be changeable. The parameter area does not have fixed length and column requirements. For example:
// Example job 2000, class =
// Step1 exec PGM = ieyfort
// Print dd sysout =

· Description area
After the description area is located in the parameter area, it is used to comment on the corresponding statement. It can be any required description information. After the description area, there must be a space. Note that the description information can be written only when a parameter appears, otherwise it is easy to be confused with the parameter. The following is an example of the description area:
// Example job, class = a It is a comment
Jcl only allows continued rows in the parameter and description areas, before the first column of the current row, you must complete a parameter, a sub-parameter, and a comma after the parameter. Column 71st and column 2 in the next row are "//" and column 1st is a space, the content of the continued row can only be 4 ~ Start with 16 columns. For example, it is considered as a comment statement after 16 columns. The following is an example of continued rows:
// Data dd DSN = sys1. Fortlib,
// Disp = old

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.