is it possible to submitt more than one job in job card in
jcl? and if yes than is it necessary to have the jobs same
name?
Answer Posted / muttaiah
1. There can be only 1 job in a jobcard.
2. There can be multiple jobs in the JCL(Job stream, I mean
the file-PS/PDS in which you have your jcl)
3. Say when you submit the JCL with 2 jobs, jobs will be
submitted, The job having class & priority as higher will
execute first. well let me give you an example.
JOBA(Jobname1) - Class(A), Priority(10)
JOBB(Jobname2) - Class(A), Priority(12)
In this case, JOBB will run first instead of jobA since
priority is higher.
Say you want to run JOBB only after the execution of JOBA
then make the job name same as JOBA
Change Jobname2 as Jobname1 and submit the jcl.
JOBB will run only after JOBA.
Hope your understand
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what operation is performed by job statement?
What are steplib and joblib?
List the different jcl statements that are not permitted in the procedures?
What are the 4 fields in dd statement?
Is automatic restart possible in jcl?
What statement can be used to send data to another mvs jes3 node?
Explain how can an in-stream dataset be terminated?
What is the purpose of dd?
What are the parameter we cannot use in procedure?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
when does a dataset go uncataloged?
what is “Cond= even” and “Cond=only”?
How is a type of file defined in the jcl that executes the cobol program?
how JCL works?
When space is allocated for an output dataset, what units can be used?