An ICETOOL job consists of:
- The JCL statements that are required for every ICETOOL job.
- The operator statements indicating the operations to be performed
by the ICETOOL job.
- The JCL statements that are required as a result of the specified
operator statements.
The first step in creating any ICETOOL job is to write the JCL
that is always required. Here is a skeleton of the JCL for an ICETOOL
job:
//EXAMP JOB A492,PROGRAMMER
//TOOL EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=A
//DFSMSG DD SYSOUT=A
//TOOLIN DD *
<ICETOOL statements go here>
/*
<Additional JCL statements go here>
- The JOB statement signals the beginning of the job.
- The EXEC statement signals the beginning of the job step and tells
the operating system to run the ICETOOL program.
- The TOOLMSG statement defines the output data set for ICETOOL
messages.
- The DFSMSG statement defines the output data set for DFSORT messages.
- The TOOLIN statement precedes the ICETOOL statements (comment,
blank, and operator statements). The ICETOOL statements you write
must appear after TOOLIN. The additional JCL statements you write
can appear before the TOOLIN statement or after the ICETOOL statements.
In the main ICETOOL job, the additional JCL statements will be placed
after the ICETOOL statements.