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



is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to..

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

is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to..

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

is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to..

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

is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to..

Answer / deb

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

Post New Answer

More JCL Interview Questions

In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?

14 Answers   Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,


what is instream data

2 Answers   EDS,


Explain how can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


How to rename a VSAM file as well as it's index file?

4 Answers   CitiGroup,


is step name is compulsory in jcl ?

2 Answers  






I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter

8 Answers  


Can you give the sort card to arrange the specific column in the version of GDG.

1 Answers  


How can a jobs execution priority be modified?

0 Answers  


I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.

2 Answers   Cognizant, Wipro,


What is the motivation behind coding class parameter in job statement?

0 Answers  


Hi, can any one tell about " How do u eliminate the duplicates "

2 Answers   Cap Gemini,


Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?  

1 Answers   TCS,


Categories