If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Reorg failing on DB2 V9 on z/OS

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-01-11, 23:10
xanhornph xanhornph is offline
Registered User
 
Join Date: Jul 2011
Posts: 6
Reorg failing on DB2 V9 on z/OS

Hi, I was originally an Oracle DBA but when I transferred to another company right now I'm handling DB2 V9 running on z/OS. So when it comes to DB2 on z/Os I'm practically a newbie.

My problem is we've been trying to run a REORG on a subsystem however it failed and after checking it, I can't seem to find what's the real reason and the solution on the error. Even though I'm new to this kind of environment I've been resolving some of the errors that had occurred before but this time I'm on a dead end. I've also tried checking the IBM online help but I still can't find any solution to it. Max RC is ABEND S04E. Please see attachment and any suggestions would be welcome.

Thank you very much.
Attached Thumbnails
Reorg failing on DB2 V9 on z/OS-error.jpg  
Reply With Quote
  #2 (permalink)  
Old 08-02-11, 05:54
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
Have a look at the "Utilities" redbook: http://www.redbooks.ibm.com/redbooks/pdfs/sg246289.pdf
On page 156 it says: "When a DB2 utility job encounters DFSORT problems it will put some messages in the SYSPRINT output data set and then abend with S04E RC00E40347 as shown in Example 6-14. The reason code 00E4005 means that one or more sort subtasks have been abending."
The problem *could* be that there is not enough room in the SORT pool, but most likely, there was an allocation problem with DFSORT (which most often is caused by too small values for primary and/or secondary extents with sort datasets; look in the JCL of your REORG job).
If it's indeed a JCL "problem", I would propose --as the redbook also suggests-- to modify the REORG statement to use dynamic (DB2) allocation.
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/
Reply With Quote
  #3 (permalink)  
Old 08-02-11, 22:25
xanhornph xanhornph is offline
Registered User
 
Join Date: Jul 2011
Posts: 6
Thumbs up

Thank you very much sir. This would be great help to me.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On