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
How can a fb file convert to vb file using sort program?
What dd statement is used to supply the name of a dataset?
what sort card you will use to copy the data from one dataset to another dataset?
What are the parameter we cannot use in procedure?
what are the types of abends that occur on job failure? And explain the possible causes of these
What are the difference between jcl and jes?
Define concatenating?
when can a job time-out occur? How to overcome that?
How does jcl act on a cobol code?
Explain how can a jobs execution priority be modified?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What is job control language?
List the various advantages of using jcl language?
Can I share my data with other jobs? How?
State the uses of syspring, sysin, sort fields, sum fields and dummy.