View previous topic :: View next topic
|
Author |
Message |
sandyko07
New User
Joined: 05 Feb 2009 Posts: 5 Location: Bangalore
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Just exactly is the "Unsuccessful sort abend message"? |
|
Back to top |
|
|
sandyko07
New User
Joined: 05 Feb 2009 Posts: 5 Location: Bangalore
|
|
|
|
I will post the spool snapshot tomorrow displaying the abend message |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
sandyko07
New User
Joined: 05 Feb 2009 Posts: 5 Location: Bangalore
|
|
|
|
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 |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
sandyko07
New User
Joined: 05 Feb 2009 Posts: 5 Location: Bangalore
|
|
|
|
The code use Input Procedure and Output Procedure |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
sandyko07
New User
Joined: 05 Feb 2009 Posts: 5 Location: Bangalore
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
You're welcome - thank you for posting the solution
d |
|
Back to top |
|
|
|