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 |
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
how to execute the last 5 steps in jcl
If we want to see the eliminated duplicate record thru SORT, how its output file will be managed
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
7 Answers Cognizant, IBM, IGT,
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
lines(1,cancel)??What is meant by that??Plz explain it....
a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?
Where can program checkpoints be stored for use in a restart?
What does the statements: typrun=scan and typrun=hold do in a JCL statement
i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)