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 is the significance of addrspc parameter in the exec statement?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What is one line to pass PARM from JCL to COBOL?
How to do automated restart when a job abend?
What is the significance of addrspc parameter in exec statement?
how you can direct the data to spool using SYSOUT option?
how to run batch program without jcl?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What is the function of job statement in jcl?
Is condition checking possible in jcl? If yes, how?
What do you understand by the term notcat 2 – gs?
how you will the direct the data to spool using sysout option?
Is automatic restart possible in jcl?
Explain the function of the dd dcb keyword?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?