Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Suggest you talk with your dasd storage people and learn if the dasd is sms-managed. SMS-managed datasets do not need a model dataset, so it may not be an issue.
If you do need a model, do not use the same name as your gdg base. This causes the duplicate. Using something quite similar with MODEL in the dsname makes it easier to spot (usually there are standards that should be followed).
Joined: 14 Mar 2007 Posts: 8657 Location: Back in jolly old England
abhay pratap singh wrote:
I want to define model datset or otherwise I have to give DCB parameters everytime while creating new generations because new generation will take dcb parameter of the input dataset as default.
WRONG ........... As suggested - go and talk to your storage people. There is no longer a need for a model DSCB just so long as the SMS ACS routines are defined correctly. At most all that you need to code is RECFM and LRECL for the +1 generation, and if you ask your storage people nicely then you will not even have to do that.
This covers SMS managed, non SMS managed, DASD and tape datasets. IBM recommend that model DSCB are no longer used when DFSMSsms is installed.