Hi
Need a clarification here. I have 16 steps in my JCL. In that 8th step failed due to SB37 but when I googled,it says to increase space but when I tried to increase again it shows the same error whenever I have increased. What I need here is -what is the max space limit I can give? -whether shall I give same space as I have in Input file? Attached the JCL step am getting the error. Suggestion would be appreciated.
space increment in JCL is not working.
-
- Registered Member
- Posts: 32
- Joined: Thu Oct 03, 2013 1:32 pm
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: space increment in JCL is not working.
instead of the nothing attached it would be more useful to see the jes job log with all the related messages
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

Re: space increment in JCL is not working.
There are several causes to a B37 abend the most common of which are that you've used the maximum number of extents (which is 16) or there's no space on the volume. Check the volume you're allocating to and make sure that you can allocate the space you've requested. If there's plenty of space, then your program is filling the dataset.
If the program you're running reports the number of records you're writing, try changing the output dataset to a DD DUMMY to give you the record count which will help in working out your disk space requirements. Of course, it's also possible that the program is stuck in a loop in which case no amount of disk space will satisfy it!
As for maximums, the largest single volume dataset can only be as large as the volume it's allocated on. That increases when you go multi-volume.
If the program you're running reports the number of records you're writing, try changing the output dataset to a DD DUMMY to give you the record count which will help in working out your disk space requirements. Of course, it's also possible that the program is stuck in a loop in which case no amount of disk space will satisfy it!
As for maximums, the largest single volume dataset can only be as large as the volume it's allocated on. That increases when you go multi-volume.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute