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 do you understand by the terms: joblib and steplib?

617


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

1961


Is condition checking possible in jcl? If yes, how?

733


How does the jcl specify the job to os?

686


What is the maximum length of a single line of jcl?

823






Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1960


what are the various stages of job processing?

734


is there any way to execute more than one proc in the same exec statement at the same time..?

2100


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9205


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

667


Explain about LMFREE�free data set from its association with data ID

994


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

854


what is use of dsn parameter in dd statement?

666


what are the types of abends that occur on job failure? And explain the possible causes of these

1112


How can unused space allocation be returned to the system when a dataset is closed?

802