On Mon, 3 Jul 2006 00:00:00 GMT, Ted Macneil <[EMAIL PROTECTED]> wrote:
>>So I am confused... How do you define and use a model DSCB? > >A model DSCB is only used for non-SMS GDG's. >You define it with whatever parameters you want, all of which can be over-ridden at GDG dataset creation time. > >The usage is automatic, because you have created a non-catalogued instance of the model on the same volume as the catalogue for the GDG's High-Level Qualifier. > The above is true by definition, but in practice most shops I've been at created GDGs by referring to a cataloged dataset that is defined just like a model DSCB but is cataloged. They then use this name in the DCB parm and override the other attributes. The advantages are that it only had to be done once (as opposed to doing it for each catalog) and if a catalog moved, it didn't matter. All JCL can then refer to this cataloged data set as a standard. Even as you converted over to SMS, it didn't hurt to specify this cataloged "model" data set. Very few people I have ever worked with distinguish this from a model DSCB (they all call this a model DSCB, even though it technically isn't). Example to create cataloged "model": //STEP1 EXEC PGM=IEFBR14 //SYSPRINT DD SYSOUT=* //DD1 DD DSN=SYS1.GDGMODEL, // UNIT=SYSDA,VOL=SER=SYS001, // DISP=(NEW,CATLG,DELETE),SPACE=(TRK,(0)) Example of referring to the "model" to create a GDG: //DD1 DD DSN=MY.NEW.GDG(+1),DISP=(NEW,CATLG), // UNIT=SYSDA,SPACE=(TRK,(5)),VOL=SER=USER01, // DCB=(SYS1.GDGMODEL,LRECL=80,BLKSIZE=0,RECFM=FB) -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group mailto: [EMAIL PROTECTED] z/OS and OS390 expert at http://searchDataCenter.com/ateExperts/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

