Hi,
There is a file which will have maximum 100 records. It is a Fixed block file. The space parameter for it is defined as SPACE=(CYL,(25,25),RLSE). But still at the time of execution the job abends for this file with SB37. Why this happens? Even when the space allocated is adequate?
I don't know why would this happen. Someone can please help on this?
Space abend interview question.
-
- Website Team
- Posts: 70
- Joined: Wed Jul 31, 2013 10:19 pm
Re: Space abend interview question.
One reason I can see is the volume on which you trying to allocate the fine does not have space.
Experts.. correct me If I am wrong
Thanks,
Chandan
Experts.. correct me If I am wrong
Thanks,
Chandan
Re: Space abend interview question.
You do not say what the LRECL is so how can we calculate the required space?
Regards
Nic
Nic
-
- Registered Member
- Posts: 20
- Joined: Fri Nov 01, 2013 11:31 pm
Re: Space abend interview question.
It sounds like a trick question. Interviewer could give any LRECL and get away with it. Looks like what Chandan has said is the only answer.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Space abend interview question.
An SB37 abend is related to the VOLUME, not the data set. The volume being used does not have enough free space to provide the primary space of 25 cylinders in 5 extents or less. If the data set is SMS-managed there would be a different message and the SB37 would not occur.
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