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 the purpose of coding class parameter in job statement?
How can an in-stream dataset be terminated?
Are there any set of rules for the names of the steps used in a job? What are they?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Describe the various parameters utilized in the creation of a gdg?
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 would you understand error(execution phase)?
What is multithreading in jcl?
Explain dfsort utility?
Explain the hierarchy levels in jcl?
Explain the function of the dd dcb keyword?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
Name what parameter directs the output of the job log dataset?
What is one line to pass PARM from JCL to COBOL?