I have Job A and Job B. I want to trigger Job B from Job A.
Please advise.
Answer Posted / neeraj wadhwa
//JOB1 JOB (....),CLASS=X,MSGCLASS=X
//*
//STEP1 EXEC PGM=.....
//*
// IF (STEP1.RC > 0) THEN
//STEP2 EXEC PGM=IEBGENER
//SYSUT1 DD DISP=SHR,DSN=MY.JCL(JOB2)
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
// ENDIF
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
what is the purpose of coding notify parameter in job statement?
Is it possible to left uncode disp? If yes, how?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
How can the submitting users racf authority be overridden in a job stream?
define cond parameter in jcl?
what is use of dcb parameter in dd statement?
Is it possible to code instream data in a PROC?
What are hierarchy levels in jcl?
what are the types of abends that occur on job failure? And explain the possible causes of these
What is the purpose of dd dummy statement?
which utility is used a dummy utility?
List the different components of jcl statement?
what sort card you will use to copy the data from one dataset to another dataset?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?