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 |
define cond parameter in jcl?
Is it possible to define dd statements as you want?
How is a dataset passed from one step to another?
what is the purpose of SYSOUT parameter in the DD statement?
A job has 150 steps i want to execute only 57th step
What are the utility programs in jcl?
why do we use file-aid wht r the adv of using file-aid thn in ispf
how to eliminate the duplicates in sorting
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero
What do you know about jcl?
In how ways you can pass the data from Jcl to cobol ?