Example of the GDGORDER parameter
Example 1: The following example GDG has a base name
D24PP1.SMF.DATA and three generation data sets:
D24PP1.SMF.DATA.G0001V00
D24PP1.SMF.DATA.G0002V00
D24PP1.SMF.DATA.G0003V00
The following DD statement overrides the default LIFO
specification and creates a FIFO data set concatenation to be read
by the job step program://SMFDATA DD DSN=D24PP1.SMF.DATA,DISP=SHR,GDGORDER=FIFO
Data is read from the data sets in the specified order.The following concatenation is used:
//SMFDATA DD DSN=D24PP1.SMF.DATA(-2),DISP=SHR
// DD DSN=D24PP1.SMF.DATA(-1),DISP=SHR
// DD DSN=D24PP1.SMF.DATA(0),DISP=SHR
The concatenation is resolved as the following code:
//SMFDATA DD DSN=D24PP1.SMF.DATA.G0001V00,DISP=SHR
// DD DSN=D24PP1.SMF.DATA.G0002V00,DISP=SHR
// DD DSN=D24PP1.SMF.DATA.G0003V00,DISP=SHR