//DD1 DD DSN=GDG(+1),DISP=(NEW,CATLG),DATACLAS=ALLOCL01
The
DCB attributes allocated to the new data set depend on the attributes
defined in data class ALLOCL01. Your storage administrator can provide
information on the attributes specified by the data classes available
to your installation. //DD2 DD DSN=GDG(+1),DISP=(NEW,CATLG),REFDD=DD1
The
new generation data set have the same attributes as the data set defined
in the first example.You can also refer to an existing model DSCB for which you can supply overriding attributes.
To refer to an existing model, specify DCB=(modeldscbname, your attributes) on the DD statement that creates and catalogs your generation. Assume that you have a GDG base name ICFUCAT8.GDGBASE and its model DSCB name is ICFUCAT8.GDGBASE.
//DD1 DD DSN=ICFUCAT8.GDGBASE(+1),DISP=(NEW,CATLG),
// UNIT=3380,SPACE=(TRK,(5)),VOL=SER=338001