is there any possibilities for sumbitting more than one
job in single jcl? if yes...based on which thing they will
execute..(priority,class,time,written order..?)
Answers were Sorted based on User's Feedback
Answer / mohan.chepuri
yes
first class wil check out the system it is higher priority
that job is exec first
if 2 or more jobs class is equal the checks the priority is
0-9 then hight priority is run first
time it is used to save the amount to cmpnys our job is
going to loop the job is running no of times then use time
limited time is given
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / quasar chunawala
Well, you can use the Special Writer - INTRDR that takes
whatever is there in the Output Queue, and puts it back in
the Input Queue. Here's ow to do it -
//AGY0157A JOB A123,'BIN-7 QUASAR',CLASS=A,NOTIFY=&SYSUID
//STEP010 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=AGY0157.HIDDEN.JCL,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
AGY0157.HIDDEN.JCL Dataset can contain the second job -
//AGY0157B JOB A123,'BIN-7 QUASAR',CLASS=A,NOTIFY=&SYSUID
//STEP020 EXEC PGM=IEFBR14
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / mohan.chepuri
yes
first class wil check out the system it is higher priority
that job is exec first
if 2 or more jobs class is equal the checks the priority is
0-9 then hight priority is run first
time it is used to save the amount to cmpnys our job is
going to loop the job is running no of times then use time
limited time is given
| Is This Answer Correct ? | 1 Yes | 0 No |
Can we write same stepname for one or more steps in on job ?
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
How to alter the parameters for the existing gdg?
How can a job send a status message to a tso user at the completion of a job?
Max generations in GDG??
For how long a job can be executed continuously in a mainframe ?
Explain dfsort utility?
How can values be passed from the job stream to an executable program?
once we submitted the job to the operating system, how can we cancel the job before execution?
What is the motivation behind coding class parameter in job statement?
i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes