Previous topic |
Next topic |
Contents |
Glossary |
Contact z/OS |
PDF
JCL statements: What does the JOB statement do? Reusable JCL collection |
|
The JOB statement is the first control statement in a job. It marks the beginning of a job and also specifies the name of the job. The JOB statement also might provide details and parameters that apply to all job steps within the job, such as accounting information and conditions for job termination. It also may contain any comments that help describe the statement. This JCL example contains one JOB statement:
//JOBNUM1 JOB 504,SMITH PAYROLL //STEP1 EXEC PGM=PROGRAM1 //DD1 DD DSN=HLQ.OUTPUT //
The end of a job is indicated by a null statement, which consists of only two forward slashes (//), or is marked by the beginning of another JOB statement. In this sample, JOBNUM1 ends with a null statement. |
Copyright IBM Corporation 1990, 2010
|