MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

S0C4 abend in SYNCSORT

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Mon Jun 18, 2007 6:58 am    Post subject: S0C4 abend in SYNCSORT Reply with quote

Hi,
I am runnnig a SORT step to replace the junk data with spaces(x'40').I am getting the S0c4 abend if I use a SORT card.The SORT statemnt is like below.

Code:

SORT FIELDS=(3,7,A,20,19,A),FORMAT=BI             
OMIT COND=((8,1,CH,EQ,C'B'),AND,(51,1,CH,EQ,C'U'))
INREC IFTHEN=(WHEN=(10,10,CH,EQ,C'xxxxxxxxxx'),   
              OVERLAY=(768:13X'40'))             



The input file is a VB record.The abend description is below.
Code:

+WER999A CxxxxxT,PS010   ,        -  UNSUCCESSFUL SORT 3AB W 
+WER999A CxxxxxT,PS010   ,        -  UNSUCCESSFUL SORT 0C4 S
 IEA995I SYMPTOM DUMP OUTPUT  689                                               
SYSTEM COMPLETION CODE=0C4  REASON CODE=00000011                               
 TIME=06.24.07  SEQ=03894  CPU=0000  ASID=0183                                 
 PSW AT TIME OF ERROR  078D2000   80008FF2  ILC 4  INTC 11                     
   ACTIVE LOAD MODULE           ADDRESS=00007000  OFFSET=00001FF2               
   NAME=SYNCSORT                                                               
   DATA AT PSW  00008FEC - 10009680  10015020  10084110                         
   GR 0: 00000000_009D36B0   1: 00000000_009D36B0                               
      2: 00000000_0000E000   3: 00000000_0000C600                               
      4: 00000000_0000816C   5: 00000000_00008A4E                               
      6: 00000000_00028008   7: 00000000_0000C968                               
      8: 00000000_000098E4   9: 00000000_87819F90                               
      A: 00000000_28810248   B: 00000000_000084F0                               
      C: 00000000_0000C410   D: 00000000_0000E000                               
      E: 00000000_8700E978   F: 00000004_8700E974                               
 END OF SYMPTOM DUMP                                                           
IEF450I CxxxxT PS010 - ABEND=S0C4 U0000 REASON=00000011  690                 
        TIME=06.24.08                                                           
ACT512I CxxxxT.PS010   .         STEP TERM COND CODE=0C4                     

When I use the SORT FIELDS = COPY and the rest of the statements,it is runnnig fine.

Can anybody give me the clue for the abend.

Thank you
Bprasanna
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Jun 18, 2007 7:04 am    Post subject: Reply with quote

Quote:

The input file is a VB record.The abend description is below.

bprasanna,

If the input file is VB , why are you sorting from pos 3 for 7 bytes? shouldn't you be sorting from pos 7 for 7 bytes? (the first 4 bytes is the RDW)

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Mon Jun 18, 2007 7:47 am    Post subject: Reply with quote

Kolusu,
Thanks for the reply.The file attribultes are like below.
Code:

General Data                           Current Allocation                   
 Management class . . : xxxxxx         Allocated cylinders : 22             
 Storage class  . . . : xxxxxx          Allocated extents . : 3             
  Volume serial . . . : SYSDA                                             
  Device type . . . . : 3390                                                 
 Data class . . . . . : DCMVS          Current Utilization                   
  Organization  . . . : PS              Used cylinders  . . : 22             
  Record format . . . : VB              Used extents  . . . : 3             
  Record length . . . : 0                                                   
  Block size  . . . . : 27998                                               
  1st extent cylinders: 15                                                   
  Secondary cylinders : 5                                                   
  Data set name type  :                 SMS Compressible  :   NO             
                                                                             
  Creation date . . . : 2007/06/15      Referenced date . . : 2007/06/18     
  Expiration date . . : ***None***                                           


The
Code:

SORT FIELDS=(3,7,A,20,19,A),FORMAT=BI             
OMIT COND=((8,1,CH,EQ,C'B'),AND,(51,1,CH,EQ,C'U'))

is alredy exists in producton and it is runnnig fine for quiet few years.Not sure why it is not giving any problem for the RDW.

I just added the INREC to replace the junk data with spaces.As per your sugeestion,I changed the value to '7',but still it is givnig S0C4.

Thank you
Bprasanna
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Jun 18, 2007 7:52 am    Post subject: Reply with quote

bprasanna,

I remember that INREC IFTHEN had a problem and would lead to S0c4 error. I think you need a patch to correct that. Can you just remove the INREC IFTHEN statement and just preform the sort? I bet it will work fine.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Mon Jun 18, 2007 8:02 am    Post subject: Reply with quote

Yes Kolusu,it is runnnig fine if I remove the INREC with IFTHEN.Another intersting thing is ,it is producing all the records in the o/p as expected,but the job is getting abend with S0C4.

Once again thank you!

Bprasanna
_________________
----------------
Thanks&Regards
Bprasanna
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Mon Jun 18, 2007 10:03 am    Post subject: Reply with quote

Quote:

I am runnnig a SORT step to replace the junk data with spaces(x'40').I am getting the S0c4 abend if I use a SORT card.The SORT statemnt is like below.
Code:
SORT FIELDS=(3,7,A,20,19,A),FORMAT=BI             
OMIT COND=((8,1,CH,EQ,C'B'),AND,(51,1,CH,EQ,C'U'))
INREC IFTHEN=(WHEN=(10,10,CH,EQ,C'xxxxxxxxxx'),   
              OVERLAY=(768:13X'40'))       

The input file is a VB record.The abend description is below.
Code:
+WER999A CxxxxxT,PS010   ,        -  UNSUCCESSFUL SORT 3AB W 
+WER999A CxxxxxT,PS010   ,        -  UNSUCCESSFUL SORT 0C4 S



bprasanna,

In this case, the Abend0C4 is a secondary abend. The primary issue is the Abend3AB W. Based on the information you were able to provide, there was a fix included in SyncSort for z/Os 1.2.2.0 which addresses this issue. Please contact SyncSort Product Services at 201-930-8260 or zos_tech@syncsort.com for EW6340.

Best Regards,
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Tue Jun 19, 2007 12:55 pm    Post subject: Reply with quote

Thank you Kolusu &Alissa Margulies .I have informed the DATA CENTER and they are getting the required patch for the same.

Thank you
Bprasanna
_________________
----------------
Thanks&Regards
Bprasanna
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Thu Apr 02, 2009 2:41 am    Post subject: Reply with quote

I am getting S0c4 Abend with the below control card.

ABEND=S0C4 U0000 REASON=00000011 649

I am using the below control card,

INCLUDE COND=(986,3,CH,NE,C' ')
SORT FIELDS=(13,13,CH,A)
OUTREC FIELDS=(1:13,13),VTOF
SUM FIELDS=NONE


Any help is appreciated. Thanks.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Thu Apr 02, 2009 12:53 pm    Post subject: Reply with quote

I just resubmitted the Job, it ran fine. Now I am guessing what went wrong.
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Thu Apr 02, 2009 1:46 pm    Post subject: Reply with quote

vak255,

If you are running SyncSort for z/OS, and a dump was produced when you originally got the Abend 0C4, feel free to send it to me offline at alissa.margulies@syncsort.com and I would be happy to review it for you.
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group