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
 

 

S0C4 abend because of increased length of Internal SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: S0C4 abend because of increased length of Internal SORT
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: 1439
Location: Bangalore,India

PostPosted: Fri Oct 19, 2007 11:27 am    Post subject:
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    Post subject: Reply to: S0C4 abend because of increased length of Internal
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    Post subject: Reply to: S0C4 abend because of increased length of Internal
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

Site Director


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

PostPosted: Fri Oct 19, 2007 11:52 am    Post subject:
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    Post subject: Reply to: S0C4 abend because of increased length of Internal
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

Site Director


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

PostPosted: Fri Oct 19, 2007 12:37 pm    Post subject:
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    Post subject: Reply to: S0C4 abend because of increased length of Internal
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

Site Director


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

PostPosted: Fri Oct 19, 2007 8:02 pm    Post subject:
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    Post subject: Reply to: S0C4 abend because of increased length of Internal
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: 1439
Location: Bangalore,India

PostPosted: Thu Oct 25, 2007 4:51 pm    Post subject:
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

Site Director


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

PostPosted: Thu Oct 25, 2007 9:49 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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