Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can a jobs execution priority be modified?

1345


what happens in execution stage in job processing?

1196


Brief description of inline procedure of jcl.

1318


Suppose I have five jobs to do. But I want to hold one?

1179


Which dd parameters are required?

1247


What is the function of the dd dcb keyword?

1397


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1385


Is it possible to left uncode disp? If yes, how?

1231


Is it possible to define dd statements as you want?

1166


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1291


In sms datasets, what is the function of the dd mgmtclas keyword?

1434


How to do automated restart when a job abend?

1481


How can the attributes of one sms dataset be copied to another dataset?

1480


What do you understand by the term notcat 2 – gs?

1296


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1190