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
What do you understand by the term notcat 2 – gs?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Explain the function of the dd dcb keyword?
Explain how can an in-stream dataset be terminated?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
write a jcl to execute a job by 7:00 am on jan 20,1986?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Explain the function of dd name parameter with a 2 part structure; audit.report?
How does jcl specify the job to the operating system?
Can an individual step be restricted from using all the jobs allowed cpu time?
how to do automated restart when a job abends?
What statement can be used to send data to another mvs jes3 node?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?