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 / nans

In the catalogued PROC, the 3rd dataset can be overridden
like below.
ORIGINAL CODE IN CATALOGUED PROC:
*********************************
//S01 DD DSN=A.B.C.D1,DISP=SHR
// DD DSN=A.B.C.D2,DISP=SHR
// DD DSN=A.B.C.D3,DISP=SHR
// DD DSN=A.B.C.D4,DISP=SHR
// DD DSN=A.B.C.D5,DISP=SHR
//
...

OVERRIDDING 3RD CONCATENATED DATASET IN CATALOGUED PROC:
******************************
//PRCN.S01 DD
// DD
// DD DSN=A3.B3.C3.D3,DISP=SHR
// DD
// DD
//
...

Is This Answer Correct ?    22 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by the term notcat 2 – gs?

747


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

740


What is jcl in mainframe, and how many types of jcl statements are there for a job?

627


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

625


Explain the function of the dd dcb keyword?

694






Explain how can an in-stream dataset be terminated?

691


if the submitter of a job wants to inform another user about the job completion, how can it be done?

747


write a jcl to execute a job by 7:00 am on jan 20,1986?

693


State the uses of syspring, sysin, sort fields, sum fields and dummy.

642


Explain the function of dd name parameter with a 2 part structure; audit.report?

888


How does jcl specify the job to the operating system?

745


Can an individual step be restricted from using all the jobs allowed cpu time?

1004


how to do automated restart when a job abends?

839


What statement can be used to send data to another mvs jes3 node?

814


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

2093