Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
What your JCL is trying to do is to create a dataset with exactly the same name as your GDG base. Perhaps specifying (+1) might help.
I guess from the DD name of MODEL your are attempting to set up a model DSCB or reference DSCB to use in conjunction with the GDG base.
If your site has SMS installed, forget about having a model or reference DSCB, you do not need it.
Go chat with your nice storage guys and say to them, please set up a DUMMY DATACLAS that will be attributed to every GDG that is created either tape or DASD, SMS or NON SMS. The DATACLAS should NOT allocate any attributes to the GDG being created i.e. RECFM, LRECL, or anything else, hence a dummy DATACLAS. These attributes should be taken from the JCL.
This way you do not need any models or dummy dcbs, no problems for ANY GDG, as above - SMS, NON SMS, tape or DASD.
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
Where is the output from the IDCAMS? That will tell you why you got an RC16.
For step2 to work correctly, you will have to delete the existing occurances of OSOP.BCB1O.TEST and add the "(+1)" to the DSN=.