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

What are the 4 fields in dd statement?

1277


What is one line to pass PARM from JCL to COBOL?

4959


What do you understand by the term job time – out and how can you overcome that?

1033


For what purpose steplib and joblib are used ?

1142


What are the 2 types of parameters in dd statement?

1159


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

1305


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

1201


What is the significance of addrspc parameter in exec statement?

1212


which parameter is use to declare the name of dataset in dd statement?

1272


What is the function of dd disp parameter?

1137


What is use of restart and how to use it?

1317


Explain the job statement in jcl?

1163


What does a disposition of (MOD,DELETE,DELETE) mean ?

1135


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1118


Define concatenating?

1107