Answer Posted / nygrande
If we use the base of the GDG only, all generations will be
concatenated.
If we want to use specific GDG generations, we can code as:
//FILEA DD DSN=NAME.OF.FILE(-5),DISP=SHR
// DD DSN=NAME.OF.FILE(-2),DISP=SHR
// DD DSN=NAME.OF.FILE(-1),DISP=SHR
// DD DSN=NAME.OF.FILE(0),DISP=SHR
or use the GDG complete DSN, as G0000V00. For example:
//FILEA DD DSN=NAME.OF.FILE.G0001V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0003V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0004V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0005V00,DISP=SHR
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the use of disp parameter?
What are the 2 types of parameters in dd statement?
In sms datasets, what is the function of the dd mgmtclas keyword?
What is multithreading in jcl?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Explain about LMQUERY�give a dialog information about a data set
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What are steplib and joblib?
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?
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?
Are there any set of rules for the names of the steps used in a job? What are they?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain the function of job statement in jcl?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What is notcat 2 - gs?