The SMP/E jobs do not include JOB statements. Although
JOB statements are often built automatically, creating your own JOB
statements that are correct for your site is usually easier than editing
the provided JOB statements.
Procedure
To create JOB statements:
- If you are using ISPF to edit and submit the SMP/E jobs,
edit a member that contains the JOB statement. Delete all text except
the JOB statement. Then use the ISPF COPY command to copy the member
into each job before submitting it.
- If you are using TSO to submit the SMP/E jobs, edit a JOB
statement and submit that JOB statement with each job.
For example, data set JCL.CNTL(J) might contain the following code:
//DB2INST JOB ACCT,NAME,
// MSGCLASS=A,MSGLEVEL=(1,1),
// TIME=(10),USER=SYSADM,PASSWORD=xxxxxxxx
/*JOBPARM ....
/*ROUTE PRINT ....
When
you are ready to submit a job, use a command like the following command:
SUBMIT (JCL(J) JCL(DSNxxxxx))
In this command,
xxxxx represents the last five characters of the SMP/E job name. This command
submits the JOB statement along with the job.