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 is the purpose of the PARM keyword in the EXEC statement?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
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 ?
Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?
How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
Is it possiable to use a gdg in the INCLUDE statement in a SORT jcl? I am using this because I want to change the condition with out changing the jcl. Please provide with a sample code.
What is NOTCAT 2
How to print data of sequential file to Spool..?
what is the use of IEBGENER utility?