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 |
How do you override a specific DDNAME/SYSIN in PROC from a JCL?
how do u see jobs submitted before ur job ?
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance
When output dataset space is required, what quantity categories are used?
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
what is the resolution for sb37 error
What is a GDG? Why do we go for a GDG ? utility used to create GDG?
can a job be submitted through jcl only? is there another way to submit a job?
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?
How I sort the records in a file and copy the first 10 records to another file
How are datasets concatenated?
List some valid operation codes in JCL