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 

Space allocation discrepancies

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
sree_learning
Beginner


Joined: 27 Nov 2005
Posts: 4
Topics: 4
Location: Chennai

PostPosted: Thu Dec 22, 2005 1:09 am    Post subject: Space allocation discrepancies Reply with quote

Hi,

I was browsing thru the following interesting topic about Space allocation in a dataset -

http://www.mvsforums.com/helpboards/viewtopic.php?t=28&highlight=space+calculate
http://www.mvsforums.com/helpboards/viewtopic.php?p=8947#8947

However, I came across a situation where, in my program I am mentioning that 'RECORD CONTAINS 349 CHARACTERS' while defining for my output file.

In my JCL, in the corresponding DD dsn of this file I am mentioning the LRECL=349 & BLKSIZE=34900.

Result is I got a S0C4 abend with the message - o/p file Open or close error.

Then, I went ahead and changed the BLKSIZE to 30712 (which is 349 * 88) and the pgm went thru fine.

The file in the consideration is a FB file.

Any reasons as to while this happened. I mean, why 34900 ( though a valid multiple of my LRECL) is not getting accepted and 30712 ( this too, being a valid multiple) is working fine.
_________________
- Sree
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Thu Dec 22, 2005 4:57 am    Post subject: Reply with quote

The maximum value of BLKSIZE is 32760 for DASD.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
sree_learning
Beginner


Joined: 27 Nov 2005
Posts: 4
Topics: 4
Location: Chennai

PostPosted: Thu Dec 22, 2005 5:17 am    Post subject: Reply with quote

Ok. Thanks.
_________________
- Sree
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Dec 22, 2005 5:48 am    Post subject: Reply with quote

Quote:

The maximum value of BLKSIZE is 32760 for DASD.


Wow...I read the question over and over again but this point never struck me !!!. Thanks Mervyn,

Phantom
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Thu Dec 22, 2005 10:00 am    Post subject: Reply with quote

Sometimes, logic reaches a brick wall. 8)
_________________
The day you stop learning the dinosaur becomes extinct
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 -> Data Management 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