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 / raghu
//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 ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is use of restart and how to use it?
What statement can be used to send data to another mvs jes3 node?
Which dd parameters are required?
How does jcl act on a cobol code?
what is DSN parameter and DISP parameter is used for?
How to pass data to a program that is coded in an exec statement?
what sort card you will use to copy the data from one dataset to another dataset?
How jcl work to handle various input output file operations?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What is the use of disp parameter?
Explain the purpose of dd * statement in jcl?
Is it possible to left uncode disp? If yes, how?
Explain the jcl exec statement?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
how can the same proc be re-used and called by many jobs?