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 gdg are concatenated?

1166


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1334


How do you access an uncatalogued dataset in a jcl?

1270


How can unused space allocation be returned to the system when a dataset is closed?

1559


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

5010


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2611


Explain the hierarchy levels in jcl?

1722


What dd statement is used to supply the name of a dataset?

1442


Is acct parameter mandatory?

1271


What is notcat 2 - gs?

1512


Explain how can a stopped job be started again?

1175


How to submit jcl through a cobol program?

1189


A dd statement consists of 4 fields. Name them?

1471


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2511


How to submit a jcl from cics?

1200