Bulletin Board

What’s new at MAINFRAMES 360
(Updates June '10)...
- I am writing articles on CICS. The effort would be to make the material of certain standard, practical and easy to comprehend.
- JCL needs fresh look, and more weightage needs to assigned to conventions and practises adopted in Production Environments at most sites
- A note of appreciation : Thanks to all our followers, for making Mainframes360 a success!

Mainframes360 Search

Loading

Quick Links

Jump to :  

Sunday, July 12, 2009

Space ABENDs – SB37, D37, E37


References :
- B37 Error at ibmmainframes.com
- Read about Space ABENDS in the IBM Manuals

Q. What are some of the ABENDs generated, when not enough disk space is available and what do they mean?
Some of the ABENDs generated due to a lack of disk space are
- ABEND SB37 : When the entire disk volume runs out of space, the ABEND B37 is generated. The system allocated all the primary and secondary space it could, but it still could not write the output.

- ABEND D37 : Primary disk space was exceeded and no secondary space has been specified, or it has been exhausted. Here, the possible solution is to increase both the primary and the secondary space, being allocated to the dataset.

- ABEND E37 : One of the more popular ABENDs. This often occurs when you try to add members to a PDS, and you get E37 ABEND. It occurs because the PDS Directory require more space for its members, than it was initially alloted. A possible solution is to compress the PDS, to make more room for new members. This can be done by 2 ways :
1) In ISPF Menu, press Z against the PDS name.
2) Run IEBCOPY with INDD and OUTDD pointing to the same PDS.
Q. How does the B37 Space ABEND Error look like in the JES2 Spool?
Consider the following Batch JOB/JCL :

//HERC04A JOB A123,QUASAR
//STEP01 EXEC PGM=IEFBR14
//FILEOUT DD DSN=HERC04.DEMO.OUTFILE,
//   DISP=(NEW,CATLG,DELETE),
//   SPACE=(80,(100,20),RLSE),
//   DCB=(LRECL=80,RECFM=FB)

The above sample code gives the following error in the JES2 Spool :

IEC030I B37-04 IFG0554T HERC04A STEP01 FILEOUT
                    rc      mod    jobname stepname ddname

Thus, we can interpret this as a SPACE ABEND SB37 in the Batch JOB HERC04A, at the job-step STEP01, and while allocating space to the output dataset HERC04.DEMO.OUTFILE. This means that for the output dataset, all the space on the current volume had been exhausted.
Q. Can we approximate the maximum space that a sequential dataset can have on a volume?
Yes, there’s a geeky way to approximate the maximum space a sequential dataset is allowed to have on a volume. A Physical Sequential(PS) Dataset can have a maximum of 16 extents on each Volume.

Maximum SPACE = 1 x PRIMARY + 15 x SECONDARY

For example, if we allocate SPACE as (10,10),

Maximum SPACE = 1 x 10 + 15 x 10 = 160 cylinders.

Thus, the system will try to pick a volume which has 160 cylinder of space.

0 comments:

Post a Comment

Related Posts with Thumbnails

Quick Links

Jump to :  

Note :

© Copyright – Quasar Chunawalla, 2010.
Note : The copyrights of all the material, text and pictures posted in this website belong to the author. Any instance of lifting the material from this website, shall be considered as an act of plagiarism. For any clarifications, please mail at quasar.chunawalla@gmail.com
 
back to top