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 :
The above sample code gives the following error in the JES2 Spool :
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. |
Technorati Tags: IBM,IBM Mainframes 360,Mainframes 360,Mainframes,JCL,JCL Tutorial,JCL Basics,ABEND,Abnormal Termination,Compress PDS,Z,IEBCOPY,Insufficient Disk space,SPACE Parameter,SPACE,SPACE ABEND,SB37,B37,D37,E37,JES2 Spool,JES2,IEC030I,jobname,stepname,ddname,maximum space,maximum space a sequential dataset can have,Physical Sequential,PS,Extents,16 extents,Volume Table of Contents,Space Abend SB37,Quasar,Quasar Chunawalla,Questions Archive,JCL Questions Archive,JCL Questions,IBM Manuals

0 comments:
Post a Comment