Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
abend SB37 in a dataset with DISP=(MOD,KEEP,KEEP)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: abend SB37 in a dataset with DISP=(MOD,KEEP,KEEP)
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    Post subject: Reply to: abend SB37 in a dataset with DISP=(MOD,KEEP,KEEP)
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: 1288
Location: Chennai, India

PostPosted: Wed Sep 12, 2007 12:25 pm    Post subject: Reply to: abend SB37 in a dataset with DISP=(MOD,KEEP,KEEP)
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us