View previous topic :: View next topic |
Author |
Message |
arvibala Beginner
Joined: 12 Feb 2008 Posts: 142 Topics: 67
|
Posted: Mon Mar 03, 2008 11:33 pm Post subject: SB37 Related Question |
|
|
Hello all,
I just received this question from my friend, guess he shud have been questioned in an interview.
A file has Just 10 records and Space allocated is 50,50 cylinders. The JCL gives SB37 abend, what could be the reason? _________________ Arvind
"You can make a difference with your smile. Have that with you always" |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
|
Back to top |
|
|
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Tue Mar 04, 2008 6:22 am Post subject: |
|
|
I would guess that the disk is full and there is not enough space for the primary allocation. |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue Mar 04, 2008 7:00 am Post subject: |
|
|
Quote: |
I would guess that the disk is full and there is not enough space for the primary allocation
|
I would have thought that that would give a D37 or even a JCL error 'SPACE REQUESTED NOT AVAILABLE' _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
narendra Beginner
Joined: 29 Apr 2006 Posts: 5 Topics: 3 Location: bangalore
|
Posted: Thu Apr 03, 2008 8:43 am Post subject: |
|
|
Generally SB37 Abend happens only when the primary space is not sufficient to run the program. |
|
Back to top |
|
|
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Sun Oct 04, 2009 8:26 am Post subject: |
|
|
As Nic has said, SB37 has Return-Codes (3 returen-codes, I believe), like SB37-RC. These are 04/08/0C. So have a closer look at your abend and the meaning of the RC.
Also, when defining a huge primary space, keep in mind, that this space is needed in one piece. And if the file gets a multiple-volume-file, the next volume also needs this prime-space at one piece on the disk.
Usually, SMS is supposed to virtually eliminate B37 abends. But the SMS setup varies from site to site. So, the ability to counter Sx37 abends depends entirely on how the routines and classes have been set up. _________________ Regards,
Anuj |
|
Back to top |
|
|
|
|