MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Are Space Parameters ignored for Tape Datasets?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed May 09, 2007 12:56 am    Post subject: Are Space Parameters ignored for Tape Datasets? Reply with quote

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
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Wed May 09, 2007 1:20 am    Post subject: Reply with quote

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
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed May 09, 2007 2:02 am    Post subject: Reply with quote

I will keep that in mind. Thank you so much.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group