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 do you understand by jcl?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
define cond parameter in jcl?
Is there any command to check wether the ps file is in sorted order?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Explain the purpose of dd dummy statement?
What parameters can be used to limit the number of records written to a sysout dataset?
How to submit jcl through a cobol program?
Explain how can an in-stream dataset be terminated?
In job processing, what happens in conversion stage?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What is the purpose of disp parameter?
Explain the function of dd name parameter with a 2 part structure; audit.report?
what is “Cond= even” and “Cond=only”?
Differentiate between the joblib and the steplib statements?