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 an job having three job steps.Suppose i want to call
a pgm in step2 and aproc in step3.How to write the code?

Answer Posted / siva

//jobname JOB ---------
//PROCLIB DD DSN=MYPROCLIB,DISP=SHR
//step1 EXEC PGM=PGM1
//
****END OF step1********
//step2 EXEC PGM=PGM2
//
//
*****END OF step2********
//step3 EXEC <PROC NAME SPECIFIED>
//

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2565


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1472


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

1100


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1305


Name what parameter directs the output of the job log dataset?

1056


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

1193


How would you understand error(execution phase)?

1261


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?

10170


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 ?

9754


Explain how can an in-stream dataset be terminated?

1337


Which dd parameters are required?

1195


Is it possible to define dd statements as you want?

1121


How does jcl specify the job to the operating system?

1249


Name the parameters which can be used to limit the number of records written to a sysout dataset?

1158


what happens in execution stage in job processing?

1150