IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

abend SB37 in a dataset with DISP=(MOD,KEEP,KEEP)


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hallecodec

New User


Joined: 05 Sep 2006
Posts: 30
Location: Philippines

PostPosted: Wed Sep 12, 2007 11:25 am
Reply with quote

hi guys,

good day to all of you!

i have a step that always abends with SB37, here is the step:

Code:

//STEP010  EXEC  PGM=TOANNUAL
//INPUTFIL DD  DSN=MONTHLYFILE,
//             DISP=OLD
//OUTPUTFI DD  DSN=ANNUALFILE,
//             DISP=(MOD,KEEP,KEEP),VOL=(,,,50)
//SYSOUT   DD  SYSOUT=*
//*


currently, the MONTHLYFILE have more than 3 million records, and ANNUALFILE have almost 2.5 million records.

should i increase the volume count in the VOL parameter or should i allocate a SPACE for the output dataset? please advise. thanks.
Back to top
View user's profile Send private message
amrita.chatterjee

New User


Joined: 27 Apr 2006
Posts: 48
Location: Bangalore, India

PostPosted: Wed Sep 12, 2007 11:29 am
Reply with quote

Try to allocate space for the annuity file.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Wed Sep 12, 2007 12:25 pm
Reply with quote

SB37 -- End of volume

Quote:
should i increase the volume count in the VOL parameter or should i allocate a SPACE for the output dataset?


As amrita suggested try to allocate space for the file. The primary and the secondary space should be provided such that the volume specified can accomodate the space .

Else allocate a specific volume with all the space needed.
Search this forum for SB37 as this has been discussed before.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top