I have Job A and Job B. I want to trigger Job B from Job A.
Please advise.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / mkgupta
Use terminal monitoring program like IKJEFT1B or IKJEFT01 and suppy tso submit command to submit the job.
SUBMIT PDS(MEMBER)
Use simple rexx code to submit the job.
Use iebgener to copy the jcl to intrdr.
| Is This Answer Correct ? | 0 Yes | 2 No |
Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?
Explain about RECORDING MODE Clause
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
How jcl work to handle various input output file operations?
What is the difference between primary and secondary allocations for a dataset?
Name the statement which can be used to send data to another mvs jes3 node?
Which COND paramter will u use to execute the step only if the previous step does not execute
How dummy is used in jcl?
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
how to skip the steps in JCl
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?