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



I have Job A and Job B. I want to trigger Job B from Job A. Please advise...

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

I have Job A and Job B. I want to trigger Job B from Job A. Please advise...

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

Post New Answer

More JCL Interview Questions

What does the one advantange of using IEBUPDTE?????

2 Answers  


What does a disposition of (NEW,CATLG,DELETE) mean?

3 Answers  


In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.

4 Answers  


What is the function of //cntl statement?

0 Answers  


how do you code a null statement?

0 Answers   IBM,






what does mvs stand for?

1 Answers   IBM,


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


I have a PDS and want to omit few rows of all members of a PDS. How to do it?

6 Answers   Accenture,


What do you understand by jcl?

0 Answers  


Explain in DD statement what is the use of DCB parameter?

0 Answers  


Is their any set of rules for dd? Explain.

0 Answers  


At what stage, operator can change the class and priority of a submitted job?

2 Answers  


Categories