how GDGs are concatinated?
Answers were Sorted based on User's Feedback
Answer / 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 |
How many steps we can overide in the proc's?
how to run batch program without jcl?
Explain about LMMFIND - find a library member
what operation is performed by job statement?
what is static and dynamic call with examples?
Can we change the LIMIT of GDG?
What is the difference between run mode and addressing mode?
What is the difference b/w the CLASS,TIME,PRTY in jcl job card.
How to copy one PS file to multiple PS files with same data?
i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?
How to concatenate different LRECL of files?
How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.