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
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
is there any way to execute more than one proc in the same exec statement at the same time..?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
what is the resolution for sb37 error
In job processing, what happens in execution stage?
i want to store 20 digits . how will u do it in cobol ?
Is condition checking possible in jcl? If yes, how?
which parameter is use to declare the name of dataset in dd statement?
When space is allocated for an output dataset, what units can be used?
Explain how can values be passed from the job stream to an executable program?
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?
How do you submit a job for execution?
what is SOC4 error?