Space abend interview question.

All sort of Mainframes Interview Questions.
Previous topicNext topic

Topic Author
zOSHelp
Registered Member
Posts: 13
Joined: Tue Aug 20, 2013 12:52 pm

Space abend interview question.

Post by zOSHelp » Wed Jun 15, 2016 2:35 pm

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?



Tags:


Chandan Yadav
Website Team
Website Team
Posts: 69
Joined: Wed Jul 31, 2013 10:19 pm
Zodiac: Libra

Re: Space abend interview question.

Post by Chandan Yadav » Wed Jun 15, 2016 2:40 pm

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




nicc
Global Moderator
Global Moderator
Posts: 580
Joined: Wed Apr 23, 2014 8:45 pm

Re: Space abend interview question.

Post by nicc » Wed Jun 15, 2016 2:46 pm

You do not say what the LRECL is so how can we calculate the required space?


Regards
Nic


Jatin Singh
Registered Member
Posts: 20
Joined: Fri Nov 01, 2013 11:31 pm

Re: Space abend interview question.

Post by Jatin Singh » Wed Jun 15, 2016 4:34 pm

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.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1331
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Space abend interview question.

Post by Robert Sample » Wed Jun 15, 2016 5:01 pm

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.



Previous topicNext topic

Return to “Interview Questions.”