Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Help with unsuccessful sort abend message

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Reply to: Internal sort in Cobol
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: 2150
Location: At my coffee table

PostPosted: Sun Mar 08, 2009 8:10 pm    Post subject:
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    Post subject: unsuccessful sort
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

Senior Member


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

PostPosted: Sun Mar 08, 2009 10:08 pm    Post subject: Re: unsuccessful sort
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    Post subject: unsuccessful sort
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: 2180
Location: @my desk

PostPosted: Mon Mar 09, 2009 2:17 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Mar 09, 2009 3:58 pm    Post subject:
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

Site Director


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

PostPosted: Mon Mar 09, 2009 7:32 pm    Post subject:
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Mon Mar 09, 2009 8:22 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Mar 10, 2009 8:48 pm    Post subject: Reply to: Help with unsuccessful sort abend message
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us