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
When space is allocated for an output dataset, what units can be used?
how you will the direct the data to spool using sysout option?
In sms datasets, what is the function of the dd mgmtclas keyword?
What is the syntax of JCL statement?
what is the compile process of cobol program expalin with code
what is DSN parameter and DISP parameter is used for?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
what are the various stages of job processing?
which parameter is use to declare the name of dataset in dd statement?
is there any way to execute more than one proc in the same exec statement at the same time..?
What are the utility programs in jcl?
What is the function of job statement in jcl?
What do you know about jcl?
Is it possible to left uncode disp? If yes, how?