1. You don't -- depending upon the site, you may need to use a model DSCB when creating a GDG, but you don't create one when you create the GDG.1. Why do we create DSCB (Model dataset) while creating GDG?
2. Is that DSCB name should be same as GDG name?
3. If DSCB serving DCB parameter to particular version then why do we mention DCB=(DSCB dataset name, LRECL=nn,BLKSIZE=nn,RECFM=cc) ? Confused?
4. What is exactly SMS? how its different with DSCB?
5. How can we say SMS-dataset and Non-SMS dataset? How do i find my Mainframe supports SMS or not?
This issue is sort of iffy. If a model DSCB is required it should be created when the GDG index is created.1. You don't -- depending upon the site, you may need to use a model DSCB when creating a GDG, but you don't create one when you create the GDG.
Yes, but ...2. Is that DSCB name should be same as GDG name?
2. The model DSCB cannot be the same as the GDG name -- the model DSCB name references an existing cataloged data set so the GDG name would not be cataloged if the same name is used.
Of course you could create a GDG index and not create a corresponding model DSCB, but you could not create a GDG dataset unless you also specified DCB=(model-DSN,...)1. In earlier times cant we create GDG generation without creating the model datasets?
I don't think you could do something like DCB=GDG(0). If the DCB parameters in the model DSCB were entirely correct for your application, of course DCB=model-DSN would work. Many shops had selected pre-built model DSCBs around just for that purpose. For example, FB80800 might be built with RECFM=FB,LRECL=80,BLKSIZE=800. In those pre-TSO days it was not always easy to get the DCB attributes of a specific dataset.2. if "DSCB is a way of determining data set attributes" as mentioned by robert, why are we creating the 0 tracks datasets and while creating generation why we are giving DCB parameters... instead we can created DSCB datasets with necessary tracks and while creating generation we can directly give
DCB =(ModelDSCB dataset) instead "DCB=(DSCB dataset name, LRECL=nn,BLKSIZE=nn,RECFM=cc)"
There is one major problem and three minor problems with this DD statement.Anuj Dhawan wrote:...//STEP2 EXEC PGM=IEFBR14
//MODEL1 DD DSN=I.AM.GDG.MODEL,
For a programmer? As far as I'm concerned, absolutely nothing, though linking a data set to a data class can set possibly useful defaults to reduce JCL failures.fornanthakumar wrote:If thats the case,
What is the use of SMS.. What it will do exactly..