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 |
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
what is the function of spool command?
Matching Logic in Jcl not in cobol.Could any one please answer this question
What is the significance of addrspc parameter in exec statement?
Why we will create load module in PDS only, Why nt in PS?
Explain how can the attributes of one sms dataset be copied to another dataset?
What do you understand by the terms: joblib and steplib?
How many extents are possible for a sequential file ? For a VSAM file ?
What is dummy parameter in JCL??
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?
How to read records in reverse order in flat file?