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?
Answers were Sorted based on User's Feedback
Answer / suresh
We can submit more than one job from single JCL by giving
multiple job cards in the JCL.
Its not necessary to have the same job name for all the
jobs. If all the jobs have the same job name, then the
jobs will be in queue to finish one by one.
Please let me know, if you are exepecting something
different.
| Is This Answer Correct ? | 23 Yes | 3 No |
Answer / shail
we can submitt more then one job in a sigle job card, and
the job name will be diffrent (this is mandatory)
| Is This Answer Correct ? | 10 Yes | 6 No |
Answer / 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 |
when we submit job or jobs ....jobs get different classes..
if job name is same output would be unpredictable coz MVS
can run any of the job..once job is executed MVS is not
going to execute another job with the same name.
so the jobs with the same name will be executed but output
will be unprectable.
| Is This Answer Correct ? | 3 Yes | 5 No |
How to read records in reverse order in flat file?
Explain concatenating datasets?
Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?
which statement is used to end the in-stream procedure in a jcl?
Explain COND used in JCL?
What is the function of the dd avgrec keyword in sms datasets?
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
Can you code instream data in a PROC ?
A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF DD DSN=ID.File1 DSN=ID.File2 DSN=ID.File3
We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?
Can we change a FB file to VB file in JCL? Please help
There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.