MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
vak255 Intermediate Joined: 10 Sep 2004 Posts: 384 Topics: 79
Posted: Wed May 09, 2007 12:56 am Post subject: Are Space Parameters ignored for Tape Datasets?
A strange doubt....I have coded
/SORTOUT DD DSN=CN.DEASRA.SRS(+1),
// DISP=(NEW,CATLG,CATLG),
// SPACE=(CYL,(2500,500),RLSE),
// UNIT=(VTSTAPE,,DEFER),
// MGMTCLAS=MC0030,
// DCB=(PSDSCB,DSORG=PS,RECFM=VB,LRECL=2004)
To my surprise it ran fine...no errors. I believe SPACE is ignored for TAPE.
Any Views on this??
Back to top
expat Intermediate Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
Posted: Wed May 09, 2007 1:20 am Post subject:
Yes it is, and once again it's time for me to get on my "Set up SMS properly horse"
Code:
/SORTOUT DD DSN=CN.DEASRA.SRS(+1),
// DISP=(NEW,CATLG,CATLG),
// SPACE=(CYL,(2500,500),RLSE),
// UNIT=(VTSTAPE,,DEFER),
// MGMTCLAS=MC0030,
// DCB=(PSDSCB,DSORG=PS,RECFM=VB,LRECL=2004)
OK, why use DISP=(NEW,CATLG,CATLG) - if the job fails you may, or may not have an invalid +1 GDG created
Coding MGMTCLAS - oh boy, you'd never be allowed to do that in my SMS shop, unless you were authorised
If SMS is set up properly and a DATACLAS is allocated to every GDG be it SMS, non SMS, TAPE or DASD, there is NO NEED for a model / pattern DSCB.
In a properly set up environment
Code:
//SORTOUT DD DSN=CN.DEASRA.SRS(+1),
// DISP=(NEW,CATLG,DELETE),
// UNIT=(VTSTAPE,,DEFER),
// RECFM=VB,LRECL=2004
_________________ If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
vak255 Intermediate Joined: 10 Sep 2004 Posts: 384 Topics: 79
Posted: Wed May 09, 2007 2:02 am Post subject:
I will keep that in mind. Thank you so much.
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum