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..?)
Answer Posted / 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 |
Post New Answer View All Answers
Can we use DISP=SHR in output file in JCL
What is the function of the dd mgmtclas keyword in sms datasets?
What are the jcl procedures?
Explain how can the attributes of one sms dataset be copied to another dataset?
how can the same proc be re-used and called by many jobs?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
How does jcl specify the job to the operating system?
Suppose I have five jobs to do. But I want to hold one?
What is the use of disp parameter?
what is DSN parameter and DISP parameter is used for?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Matching Logic in Jcl not in cobol.Could any one please answer this question
How would you understand error(execution phase)?
how would you create a temporary dataset? And where will you use them?