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


Please Help Members By Posting Answers For Below Questions

What is the function of the dd dcb keyword?

824


How to pass the parameter in parm using linkage section ? (syntax)?

651


What is jcl in mainframe?

688


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

677


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1969






write a jcl to execute a job by 7:00 am on jan 20,1986?

699


What is the function of //jcllib statement?

806


how to compare two datasets without using superce because output is limited to 133 bytes

1482


which parameter is use to declare the name of dataset in dd statement?

735


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

668


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2220


What is the function of dd disp parameter?

655


what is the purpose of coding notify parameter in job statement?

683


what is use of dsn parameter in dd statement?

670


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

669