Previous Topic: Reviewing Proclib

Next Topic: Started Tasks

Search JCL Libraries

Job control language (JCL) communicates information to the operating system about which files and programs you want run. JCL is deceptively simple. It consists of only a handful of statements, yet the manuals that describe them are hundreds of pages long. JCL has grown rapidly in the last few years. Besides the traditional JCL that was always around, we now have JES JCL that includes new parameters that control networking operations. Some of the JCL statements you find are:

Statement

Function

Use

// JOB

Job Statement

Assigns job and programmer names, accounting information, job and message classes

// EXEC

Execute Statement

Names the program or JCL procedure to execute

// DD

Data Definition

Names the files that are processed

//

Command

Used for z/OS operator commands

// PROC

Procedure Start

Marks the start of an instream JCL procedure (one that does not use proclib)

// PEND

Procedure End

Indicates the end of the instream JCL procedure

//*

Comment or JES3 Controls

Used for JES3 parameters and comments to document the job

/*

EOF

Used for JES2 parameters and marking end‑of‑file