IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Help with unsuccessful sort abend message


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandyko07

New User


Joined: 05 Feb 2009
Posts: 5
Location: Bangalore

PostPosted: Sun Mar 08, 2009 6:45 pm
Reply with quote

Hello,

One of the program in production sometimes abends giving Unsuccessful sort abend message (sort is done in the program).but this abend does not come very often , please suggest what could be the reasons so that I can come up with some solution.

thanxs
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sun Mar 08, 2009 8:10 pm
Reply with quote

Just exactly is the "Unsuccessful sort abend message"?
Back to top
View user's profile Send private message
sandyko07

New User


Joined: 05 Feb 2009
Posts: 5
Location: Bangalore

PostPosted: Sun Mar 08, 2009 8:57 pm
Reply with quote

I will post the spool snapshot tomorrow displaying the abend message
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Sun Mar 08, 2009 10:08 pm
Reply with quote

sandyko07 wrote:
I will post the spool snapshot tomorrow displaying the abend message
Yes please, but please copy & paste the spool message instead of snapshot - please use BBcode when you do that.
Back to top
View user's profile Send private message
sandyko07

New User


Joined: 05 Feb 2009
Posts: 5
Location: Bangalore

PostPosted: Mon Mar 09, 2009 12:59 pm
Reply with quote

The following message is displayed........
let me know if you need any other details.........

Code:
+WER999A JCL2000K,JSTE300A,RUN     -  UNSUCCESSFUL SORT FC7 U REASON=00000000
IEA995I SYMPTOM DUMP OUTPUT  192                                             
  USER COMPLETION CODE=4039 REASON CODE=00000000                             
 TIME=10.57.10  SEQ=14364  CPU=0000  ASID=011E                               
 PSW AT TIME OF ERROR  078D1000   868A5EFE  ILC 2  INTC 0D                   
   NO ACTIVE MODULE FOUND                                                   
   NAME=UNKNOWN                                                             
   DATA AT PSW  068A5EF8 - 00181610  0A0D58D0  D00498EC                     
   AR/GR 0: 80B92B60/84000000   1: 00000000/84000FC7                         
         2: 00000000/0006B190   3: 00000000/00000002


Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Mar 09, 2009 2:17 pm
Reply with quote

The WER message indicates that your product is SyncSort. Can you post the sort card here. Since already you have faced this in production, what action you have taken?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Mon Mar 09, 2009 3:58 pm
Reply with quote

Hi,

This is somethinf about WER999A:
Quote:
WER999A indicates that an error condition occurred, preventing the successful completion of the sort. This message does not necessarily mean that SyncSort was responsible for the error. If, for example, the error is in the COBOL Input or Output Procedure of an invoked sort, WER999A will appear. WER999A indicates that SyncSort got control: after the error, printing this SyncSort message.

The documentation accompanying WER999A varies with the error involved. It may consist of a standard system dump (SYSUDUMP or SYSABEND) and/or a SyncSort-generated SNAP dump. The SyncSort SNAP is formatted very much like a SYSUDUMP. In debugging the SNAP, care must be taken to avoid reliance on the PSW AT ENTRY TO SNAP and the general registers. (A SNAP dump produced through the SyncSort DEBUG PARM or with a W-abend (i.e., WER999A UNSUCCESSFUL SORT xxxW) is only useful to a sort analyst at SyncSort MVS Product Services. See "What to Do Before Calling SyncSort
Product Services. See "What to Do Before Calling SyncSort MVS Product Services".)


Is this " This message does not necessarily mean that SyncSort was responsible for the error. If, for example, the error is in the COBOL Input or Output Procedure of an invoked sort, WER999A will appear. WER999A indicates that SyncSort got control: after the error, printing this SyncSort message." applicable to you as well?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Mon Mar 09, 2009 7:32 pm
Reply with quote

Hello,

Does the code use input procedure/output procedure or using/giving?

If the code "stops running" while in an input or output procedure, strange abends may occur.

There may also be some additonal diagnostic info available that might be posted.
Back to top
View user's profile Send private message
sandyko07

New User


Joined: 05 Feb 2009
Posts: 5
Location: Bangalore

PostPosted: Mon Mar 09, 2009 7:43 pm
Reply with quote

The code use Input Procedure and Output Procedure
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Mon Mar 09, 2009 8:22 pm
Reply with quote

Hello,

Suggest you carefully look thru the code for some condition that could cause the program to terminate while in the input or output procedure.

How much data is being sorted? There may a problem with space. . .
Back to top
View user's profile Send private message
sandyko07

New User


Joined: 05 Feb 2009
Posts: 5
Location: Bangalore

PostPosted: Tue Mar 10, 2009 8:34 pm
Reply with quote

Hi,
dick scherrer yes you are correct in the Ouput Procedure there is a check that if there is no record in the sort file , abend the program.
I think since it's a report program , I can give a exit in this condition instead of abend and let empty report get generated.
It should work.
Because of this abend condition S04C is encountered.
Thanks !
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Mar 10, 2009 8:48 pm
Reply with quote

You're welcome - thank you for posting the solution icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts JCL sort to compare dates in two file... DFSORT/ICETOOL 2
No new posts Is this possible via sort (in one pass)? SYNCSORT 4
No new posts omegamon for cics -UNSUPPORTED ENVIRO... CICS 2
No new posts GDG generation name to GDG Base name ... DFSORT/ICETOOL 3
No new posts SORT on detail record, then repeat he... DFSORT/ICETOOL 3
Search our Forums:

Back to Top