| Component | Description |
|---|---|
| BCP Base Control Program |
BCP controls the job's execution. It is not the focus of this course. |
| JES Job Entry Subsystem |
JES reads your job, interprets the JCL, prints the output and purges the job. JES also performs housekeeping functions for the spool space and the job queues. |
| Payroll Update Program | JCL Statements |
|---|---|
| JOB IDENTIFICATION Every job submitted to the computer must carry identification with it a name, owner and job accounting information. This identification is done on the JOB statement. It must be the first statement in the jobstream. |
| Payroll Update Program | JCL Statements |
|---|---|
| JOB IDENTIFICATION SELECT PROGRAM The next function of a job is to request that a program be fetched and executed. This is done with the EXEC statement, which defines a job step. |
| Payroll Update Program | JCL Statements |
|---|---|
GET TRANSACTION RECORD GET MASTER RECORD A program requests a record from a data set. |
JOB IDENTIFICATION SELECT PROGRAM TAPE 007659 DISK PAY001 The JCL points to the physical location of the data set. DD statements do this. They must follow the EXEC for the program. They can be listed in any order. |
| Payroll Update Program | JCL Statements |
|---|---|
GET TRANSACTION RECORD GET MASTER RECORD PERFORM CALCULATIONS The program performs the necessary processing on the data retrieved. |
JOB IDENTIFICATION SELECT PROGRAM TAPE 007659 DISK PAY001 |
| Payroll Update Program | JCL Statements |
|---|---|
GET TRANSACTION RECORD GET MASTER RECORD PERFORM CALCULATIONS PRINT REPORT The report requested by the program is directed ... |
JOB IDENTIFICATION SELECT PROGRAM TAPE 007659 DISK PAY001 PRINTER / FORM 120 / 5 COPIES ... via the JCL DD statement to the appropriate printer. |
| Field | Description |
|---|---|
| //PAYUPD | Jobname |
| JOB | Type of statement |
| (789,ACT-7), | Accounting information |
| HRD, | Owner |
| CLASS=1,TIME=30 | Priority and run-time |
| Field | Description |
|---|---|
| //STEP1 | Step name |
| EXEC | Type of statement |
| PGM=PAY012 | Program to be executed |
| Field | Description |
|---|---|
| //MASTER | A name defined within the program. This name the ddname is the link between the program and the JCL. |
| DD | Type of statement. |
| DSN=PAY.MASTER, | Name of data set. This name the dsname is the name given to the data set when it is created on tape or disk. |
| DISP=OLD | This data set exists and is cataloged. A catalog is a list of data sets maintained by the system that contains their location and attributes. |
| Field | Description |
|---|---|
| Name | This is any valid name you assign. |
| Operation | This includes JOB, EXEC, DD and other operations. |
| Operands | Each operation can have several parameters. |
| Comments | Comments may be entered on any JCL statement. An entire line or lines of JCL can be comments. |
| Data Sets Files | ddname |
|---|---|
| Input | SYSUT1 |
| Output | SYSUT2 |
| Messages | SYSPRINT |
| Parameters | SYSIN |
| Data Sets Files | ddname |
|---|---|
| Input | SYSUT1 |
| Output | SYSUT2 |
| Messages | SYSPRINT |
| Parameters | SYSIN |
| Portion | Description |
|---|---|
| jobname | A unique name to identify your job to the operating system |
| JOB | The type of statement |
| accounting information | Account number and other accounting information |
| programmer's name | Name of the person or group submitting the job |
| keyword parameters | Other parameters such as the job class and the maximum run time |
| Value | Definition | |
|---|---|---|
| statements | 0 1 2 |
Print the JOB statement only. Print all JCL statements. - instream - expanded cataloged procedures - symbolic parameter substitutions Print instream JCL statements only. |
| messages | 0 1 |
Print no allocation/termination messages unless the job abnormally ends. Print all allocation/termination messages. |
| Parameter | Description |
|---|---|
| ADDRSPC | Indicates if a job is pageable or nonpageable |
| COND | Sets the criteria for execution for job steps |
| PERFORM | Assigns a performance group to a job |
| PRTY | Designates a job's selection priority |
| RD | Defines restart and checkpoint processing |
| REGION | Specifies the amount of storage the job needs |
| RESTART | Indicates job restart method |
| GROUP | Associates a user with a RACF group |
| PASSWORD | Specifies/changes the current RACF password |
| SECLABEL | Specifies the job's RACF security level |
| USER | Specifies the RACF userid |
| BYTES | States the job's maximum amount of printed output & action |
| CARDS | States the job's maximum for punched card output & action |
| LINES | States the job's maximum amount of printed output & action |
| PAGES | States the job's maximum amount of printed output & action |
| Portion | Description |
|---|---|
| stepname | Name of the job step |
| EXEC | The type of statement |
| parameters | List of parameters and their values or subparameters |
| comments | Any comments you choose to add |
| ADDRSPC | RD |
| COND | REGION |
| PERFORM | TIME |
| Parameter | Description |
|---|---|
| ACCT | Specifies the accounting information |
| ADDRSPC | Indicates the type of storage the job needs |
| COND | Sets the criteria to bypass or execute this step |
| DYNAMNBR | Holds the number of data set allocations for reuse |
| PERFORM | Assigns a performance group to a job step |
| RD | Defines step restart and checkpoint processing |
| REGION | Specifies the amount of storage the step needs |
| TIME | Specifies the maximum CPU time the step may use |
| Portion | Description |
|---|---|
| ddname | The data definition name |
| DD | The type of statement |
| parameters | List of parameters on the DD statement |
| comments | Any comments you care to include |
| Parameter | Description |
|---|---|
| DCB | Completes the data control block for the data set |
| EXPDT | Specifies the expiration date |
| LABEL | Gives information about the data set label |
| LRECL | Indicates the logical record length |
| RECFM | Specifies the format and characteristics of records |
| RETPD | Specifies the data set retention period |
| SPACE | Requests space for a new data set on DASD (disk) |
| UNIT | Requests a device for the data set |
| VOLUME | Identifies the volume(s) where the data set resides |
| DISP | Describes the status of the data set |
| DSNAME | Identifies the data set name |
| BLKSIZE | Specifies the length of a block |
| Parameter | Description |
|---|---|
| AMP | Completes the access method control block for VSAM data sets |
| ACCODE | Specifies or changes the accessibility code |
| CHKPT | Writes a checkpoint at each end-of-volume except the last |
| CNTL | References a previous CNTL/ENDCNTL group |
| DDNAME | Postpones data set definition until later in the job step |
| DLM | Specifies a special delimiter for instream data |
| DSID | Identifies 3540 diskette data sets |
| FREE | Specifies when data set resources are closed |
| HOLD | Holds a SYSOUT data set until it is released |
| KEYLEN | Specifies the key length of a new data set |
| DYNAM | Increases dynamically-controlled resources held for reuse |
| PROTECT | Requests RACF protection for a data set |
| QNAME | Designates a data set containing TCAM messages |
| SUBSYS | Specifies the subsystem to process the data set |
| TERM | Indicates a TSO user data set |
| Parameter | Description |
|---|---|
| BURST | Directs the output to the proper stacker on a 3800 |
| CHARS | Names a character-arrangement table for a 3800 |
| COPIES | Specifies the number of copies of the data set to print |
| DEST | Specifies a SYSOUT data set's output destination |
| FCB | Defines the forms control used in printing |
| FLASH | Specifies the forms overlay used |
| MODIFY | Specifies the copy-modification module used while printing |
| OUTLIM | Limits records written to the SYSOUT data set |
| OUTPUT | Links an OUTPUT JCL statement with a SYSOUT data set |
| UCS | Specifies the character set used in printing |
| SPIN | Specifies when SYSOUT output can print |
| Parameter | Description |
|---|---|
| DATACLAS | Identifies the data class for the data set |
| STORCLAS | Indicates the storage class for the data set |
| MGMTCLAS | Specifies the management class for the data set |
| AVGREC | Requests the space allocation for the data set in records |
| DSNTYPE | Specifies the data set as a PDS, PDSE, HFS or FIFO |
| KEYOFF | Specifies the key offset for a new VSAM data set |
| LIKE | Specifies the attributes from a model data set |
| RECORG | Specifies how a VSAM data set's records are organized |
| REFDD | Specifies the attributes from a DD-defined data set |
| SECMODEL | Specifies the RACF profile |