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

S0C4 abend because of increased length of Internal SORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Fri Oct 19, 2007 11:20 am
Reply with quote

hi..

I increased the record length of file input/output to internal SORT in my program. This file input has BUFL in the JCL.

I am getting S0C4 abend when I try to run with the old BUFL. When I increase the BUFL to the maximum, the job went fine.

But need to know how does the BUFL impact the internal SORT and how to arrive the BUFL value for a particular record length/key length of an internal SORT.

Any help on this will be great..!!
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Oct 19, 2007 11:27 am
Reply with quote

Raghavendra,

Post your spool data for better understanding.
Back to top
View user's profile Send private message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Fri Oct 19, 2007 11:39 am
Reply with quote

This is the error message I got.


AB401 ===== ABEND-AID =====
REPORT WRITTEN TO: ABENDAID JOB-ISDXVPK0 STEP-PSTY0020
LE COND CODE=CEE3204S / EXPECTED COMP CODE=S0C4
ACCESS YOUR ABEND-AID REPORTS BY EXECUTING SYSTEM COMMA
ND "AA" FROM ANYWHERE IN ISPF.
IEF285I ISDXVPK.ISDXVPK0.JOB02617.D0000110.? SYSOUT
LEAID110 LE-AID IS ISSUING U4039-8 ABEND
IEA995I SYMPTOM DUMP OUTPUT
USER COMPLETION CODE=4039 REASON CODE=00000008
TIME=08.10.55 SEQ=10435 CPU=0000 ASID=0287
PSW AT TIME OF ERROR 078D1000 B73938A6 ILC 2 INTC 0D
ACTIVE LOAD MODULE ADDRESS=37392C50 OFFSET=00000C56
NAME=#XAALE31
DATA AT PSW 373938A0 - 00181610 0A0D4100 00840A3C
AR/GR 0: 00000000/84000000 1: 00000000/84000FC7
2: 00000000/0002AC50 3: 00000000/000E4FC8
4: 00000000/0002A7D4 5: 00000000/37393C4F
6: 00000000/0002D824 7: 00000000/0002D914
8: 00000000/B71C33B0 9: 00000000/00000000
A: 00000000/0002D7B0 B: 00000000/B7392C50
C: 00000000/00025AD0 D: 00000000/0002D590
E: 80DB08C8/B7393608 F: 00000000/00000008
END OF SYMPTOM DUMP
IEF285I ISDXVPK.ISDXVPK0.JOB02617.D0000109.? SYSOUT
IEF472I ISDXVPK0 PSTY0020 - COMPLETION CODE - SYSTEM=0C4 USER=0000 REASON=000000
Back to top
View user's profile Send private message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Fri Oct 19, 2007 11:43 am
Reply with quote

This is the error message I got.


AB401 ===== ABEND-AID =====
REPORT WRITTEN TO: ABENDAID JOB-ISDXVPK0 STEP-PSTY0020
LE COND CODE=CEE3204S / EXPECTED COMP CODE=S0C4
ACCESS YOUR ABEND-AID REPORTS BY EXECUTING SYSTEM COMMA
ND "AA" FROM ANYWHERE IN ISPF.
IEF285I ISDXVPK.ISDXVPK0.JOB02617.D0000110.? SYSOUT
LEAID110 LE-AID IS ISSUING U4039-8 ABEND
IEA995I SYMPTOM DUMP OUTPUT
USER COMPLETION CODE=4039 REASON CODE=00000008
TIME=08.10.55 SEQ=10435 CPU=0000 ASID=0287
PSW AT TIME OF ERROR 078D1000 B73938A6 ILC 2 INTC 0D
ACTIVE LOAD MODULE ADDRESS=37392C50 OFFSET=00000C56
NAME=#XAALE31
DATA AT PSW 373938A0 - 00181610 0A0D4100 00840A3C
AR/GR 0: 00000000/84000000 1: 00000000/84000FC7
2: 00000000/0002AC50 3: 00000000/000E4FC8
4: 00000000/0002A7D4 5: 00000000/37393C4F
6: 00000000/0002D824 7: 00000000/0002D914
8: 00000000/B71C33B0 9: 00000000/00000000
A: 00000000/0002D7B0 B: 00000000/B7392C50
C: 00000000/00025AD0 D: 00000000/0002D590
E: 80DB08C8/B7393608 F: 00000000/00000008
END OF SYMPTOM DUMP
IEF285I ISDXVPK.ISDXVPK0.JOB02617.D0000109.? SYSOUT
IEF472I ISDXVPK0 PSTY0020 - COMPLETION CODE - SYSTEM=0C4 USER=0000 REASON=000000
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Oct 19, 2007 11:52 am
Reply with quote

Hello,

The reason you see what you do is that when the internal sort has a fatal abend (say an 013-xx - open error), it is often manifested as an 0c4.

When you corrected the conflicting parameters, the 0c4 was solved.
Back to top
View user's profile Send private message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Fri Oct 19, 2007 12:18 pm
Reply with quote

When I increased the BUFL, I did that to the maximum length. But I can't do it the same way in production. Is there a way to arrive at the BUFL for a specific record length/key length ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Oct 19, 2007 12:37 pm
Reply with quote

Hello,

What happens when you remove the BUFL parameter?

You might also try setting BUFL to the BLKZISE, but i suspect you'll be ok without the parameter at all.
Back to top
View user's profile Send private message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Fri Oct 19, 2007 1:11 pm
Reply with quote

The problem still persists when I remove the BUFL parameter. I only is working when I provide maximum length of 32760.

An thoughts..??
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Oct 19, 2007 8:02 pm
Reply with quote

Hello,

What happens when you set BUFL to blksize?

What is blksize?

How is your select/fd coded in the program?
Back to top
View user's profile Send private message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Thu Oct 25, 2007 4:48 pm
Reply with quote

I fixed the issue this way.

The program was reading the file and moving the data directly into SORT input procedure. I changed the read statement to read the input file into WS variable and then moved it to SORT input procedure and it worked fine.

Thanks Dick!!
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Oct 25, 2007 4:51 pm
Reply with quote

Raghavendra,

Quote:
I fixed the issue this way.

Nice to know.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Oct 25, 2007 9:49 pm
Reply with quote

You're welcome icon_smile.gif

Thank you for posting your resolution.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts JCL sort card - get first day and las... JCL & VSAM 9
Search our Forums:

Back to Top