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 |
What are some jcl statements that are not allowed in procedures?
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
How to identify in JCL that an input file is empty without reading it?
What is GDG?
what is the function of spool command?
can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.
How can unused space allocation be returned to the system when a dataset is closed?
What is GDG and what is the maximum limit of versions that can be created?
How can an in-stream dataset be terminated?