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
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What is the significance of addrspc parameter in the exec statement?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
how you will the direct the data to spool using sysout option?
what is use of disp parameter in dd statement?
Is acct parameter mandatory?
How to submit jcl through a cobol program?
What are the jcl procedures?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
How can an in-stream dataset be terminated?
how to run batch program without jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you