how long it will be allowed to run. If the job initiator is already running a job then the current jobrequest may be placed in a job queue and have to wait until the initiator is free.The MSGCLASS=x is used to specify where the job output will be directed. The output classesare predefined and vary from site to site. Two are the normal defaults are as follows.
Normal system printing and all output listings sent to the default system printer.
Hold output in the queue and allow job output to be viewed on-line through the TSO outlistfacility.The MSGLEVEL=(x,y) is used as follows.
0The system prints only the JOB statement.1The system prints all JCL statements, JES2, or JES3 control statements, the procedurestatements, and IEF653I messages which show the values assigned to symbolic parameters in procedure statements.2The system prints only JCL statements and JES2 and JES3 control statements.
0The system prints only JCL messages. It prints JES and operator messages only if the job abnormally terminates.1The system prints JCL messages and any JES and operator messages.If you want to be notified when the job has finished then use the "NOTIFY=" key word. The NOTIFY parameter must specify a valid userid.
A Comment Statement
A comment statement is defined by a "//*" in positions 1-3. The following is an example of aJCL comment statement.
//* THIS IS A JCL COMMENT STATEMENT...
The text for the comment should not go past position 71. Remember, a non-space in position 72 indicates a continuation.
The EXEC Statement
(or Defining a Job Step)
A job step defines the program to run and is created by using the EXEC statement. There may beone step or many steps within a job. The step name should be in positions 3-n (for a maximum of eight characters) followed by a space. The following is an example of a JCL statement thatdefines a step within a job and executes a program.