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 problem SB37 for Track of only 10

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
mainframemouli
Beginner


Joined: 23 Feb 2005
Posts: 87
Topics: 33

PostPosted: Sat Apr 14, 2007 1:01 am    Post subject: space problem SB37 for Track of only 10 Reply with quote

I have a program for which there are three outputs :

Code:

1.
SYSOUT   DD DSN=T4.DFSS.RA.HISTSTAT.BULK,
            DISP=(NEW,CATLG,CATLG),       
            SPACE=(TRK,(10,1),RLSE),     
            DCB=(RECFM=FB,LRECL=80,BLKSIZE=0) 
 
2.

Output2  DD DSN=T4.DFSS.*****2,   
            DISP=(NEW,CATLG,CATLG),                     
            UNIT=(TAPE,,DEFER),LABEL=(1,SL,EXPDT=99000),
            DCB=(RECFM=FB,LRECL=1059,BLKSIZE=0)               
3.
                       
Output3  DD DSN=T4.DFSS.****3,         
            DISP=(NEW,CATLG,CATLG),                     
            SPACE=(TRK,(500,50),RLSE),                   
            DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)   




The problem is I am getting a SB37 abend while executing the program , The abend information as below.

Code:

IEC030I B37-04,IFG0554A,T3IO4ILP,STEP0030,SYSOUT,DC25,UU7107,T4.DFSS.RA.HISTSTAT.BULK
IEA995I SYMPTOM DUMP OUTPUT                                                     
SYSTEM COMPLETION CODE=B37  REASON CODE=00000004                               


Actually the First output file has very less numberof records to be written into , only 4 records.

can't it be able to allocate a TRKS of size (10 + (1 * 15)) = 25 TRKS.

From the previous posts i understood that if at that moment 25 TRKS are not able to alloted , it will fail ..but for 25 TRKS???

can anyone throw some light on this.....
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Sat Apr 14, 2007 7:35 am    Post subject: Reply with quote

Quote:

Actually the First output file has very less numberof records to be written into , only 4 records.


Mainframemouli,

No you are writting more than 4 records. Check the pgm logic and see if you are writting more records. A single track is quite sufficient to write 4 80 byte records.

Your pgm must be in a loop writting the same records over and over and hence the space abend.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sat Apr 14, 2007 10:32 pm    Post subject: Reply with quote

or the volume is really full. It happens
Back to top
View user's profile Send private message Visit poster's website
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sun Apr 15, 2007 1:30 am    Post subject: Reply with quote

if the DASD was full, would have it allocated anything. the poster has not bothered to tell us the attributes of the file after execution.

also, because there was no volumn ser no given, would not file management (don't know if it is sms or not) just seek dasd where there was room.

SB37 normally indicates that the allocated space for a file has been used up.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Mon Apr 16, 2007 3:09 am    Post subject: Reply with quote

If you are only creating 4 80 byte records (3200 bytes) why are you allocating c. 300000 bytes? That is sloppy JCL coding.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Mervyn
Moderator


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

PostPosted: Mon Apr 16, 2007 4:03 am    Post subject: Reply with quote

I know people who allocate a multi-volume dataclass to take a single-record control file. I blame the parents. Mr. Green
_________________
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 -> Problem Determination 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