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 is DD statement is used in JCL?
Name the statement which can be used to send data to another mvs jes3 node?
whats the diff bw the evaluate also and and?
What do you understand by jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what is the resolution for sb37 error
What is the function of the dd avgrec keyword in sms datasets?
How to pass data to a program that is coded in an exec statement?
What is concatenating?
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
how you can direct the data to spool using SYSOUT option?
How can values be passed from the job stream to an executable program?
What is the function of a dd statement?
how to compare two datasets without using superce because output is limited to 133 bytes
What is the motivation behind coding class parameter in job statement?