space increment in JCL is not working.

JES2/3, JCL, utilities.
Post Reply
Technocrat
Registered Member
Posts: 32
Joined: Thu Oct 03, 2013 1:32 pm
India

space increment in JCL is not working.

Post by Technocrat »

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.
Regards
User avatar
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 843
Joined: Wed Sep 11, 2013 3:57 pm

Re: space increment in JCL is not working.

Post by enrico-sorichetti »

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 8-)
User avatar
zum13
Active Member
Posts: 127
Joined: Thu May 04, 2023 12:58 am

Re: space increment in JCL is not working.

Post by zum13 »

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.
Post Reply

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

Register

Sign in

Return to “JCL - Job Control Language.”