View previous topic :: View next topic |
Author |
Message |
sree_learning Beginner
Joined: 27 Nov 2005 Posts: 4 Topics: 4 Location: Chennai
|
Posted: Thu Dec 22, 2005 1:09 am Post subject: Space allocation discrepancies |
|
|
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 |
|
 |
Mervyn Moderator

Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Thu Dec 22, 2005 4:57 am Post subject: |
|
|
The maximum value of BLKSIZE is 32760 for DASD. _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
 |
sree_learning Beginner
Joined: 27 Nov 2005 Posts: 4 Topics: 4 Location: Chennai
|
Posted: Thu Dec 22, 2005 5:17 am Post subject: |
|
|
Ok. Thanks. _________________ - Sree |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Dec 22, 2005 5:48 am Post subject: |
|
|
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 |
|
 |
Mervyn Moderator

Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Thu Dec 22, 2005 10:00 am Post subject: |
|
|
Sometimes, logic reaches a brick wall. 8) _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
 |
|
|