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...

How can I override a dsn that is contained in a proc called
by another proc? I need to do the override in the calling
JCL.

Answer Posted / piyush mani

//PROC1 PROC
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=XYZ, DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
// PEND


//JJJ JCLLIB ORDER=PROCLIB PATH
//PROC2 PROC
//STEP2 EXEC PROC1


//JOBNAME JOB PARAMETERS
//JJJ JCLLIB ORDER=PROCLIB PATH
//PROC3 PROC
//STEP2.DD1 DSN=NEW NAME,DISP=SHR


THIS IS D WAY....
THIS PROG. WILL DO NOTHING IT'S JUST AN EXAMPLE..


GIV UR FEEDBACK

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can values be passed from the job stream to an executable program?

1423


Differentiate between the joblib and the steplib statements?

1409


What parameter of the job statement is used to limit the cpu time consumed by the job?

1263


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1490


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1819


in ways data can be passed to a COBOL program from JCL?

1199


What are the 2 types of parameters in dd statement?

1139


How does jcl act on a cobol code?

1170


How is the record format of an output dataset specified?

1141


What are the utility programs in jcl?

1145


Name a few IBM utility programs, and explain its function.

4946


how you can access an uncataloged dataset in a JCL?

1116


Is it possible to define dd statements as you want?

1097


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

1209


Is their any set of rules for dd? Explain.

1168