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

Suppose I have 5 dataset listed under a single DD name in a
catlogued PROC. How can I override one of those 5 dataset
(say 3rd dataset)?

Answer Posted / vaneesh khurana

Calling catalog proc
Pass the symbolic parameter name to C while executing
proc(CATPROC)

//STEP1 EXEC CATPROC,C=NAME2
------------------------------------

Catlaog Proc

Here third dataset name which was "THIRD.FILENAME" earlier
will get overridden with "NAME2.FILENAME"

//CATPROC PROC A=FIRST,B=SECOND,C=THIRD,D=FOURTH,E=FIFTH

//STEP2 EXEC PGM=PGM1

//DFILES DD DSN=&A..FILENAME
DD DSN=&B..FILENAME
DD DSN=&C..FILENAME
DD DSN=&D..FILENAME
DD DSN=&E..FILENAME

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jcl in mainframe?

1137


How to run cobol program using jcl?

1153


how you can direct the data to spool using SYSOUT option?

1408


What is condition checking in jcl? Is this possible?

1056


Is automatic restart possible in jcl?

1150


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

999


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

1783


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2192


what are the various stages of job processing?

1233


what is DSN in JCL and what are the parameters to declare the DSN?

1144


What is the use of symbol // in jcl?

1386


What is the purpose of dd * statement in jcl?

1224


What is the function of //jcllib statement?

1265


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1888


How would you understand error(execution phase)?

1168