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 we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Why block size is multiple of lrecl in jcl?
Suppose I have five jobs to do. But I want to hold one?
What dd statement is used to supply the name of a dataset?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Explain about ISPF/TSO Commands
What are s0c1, s0c4, s0c5, s0c7 and socb?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What is the function of //jcllib statement?
what is the use of IEBGENER utility?
Explain the purpose of dd dummy statement?
How dummy is used in jcl?
What do you know about jcl?
What is the function of dd disp parameter?
How can return codes be tested before execution of a job step?