View previous topic :: View next topic
|
Author |
Message |
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Raghavendra,
Post your spool data for better understanding. |
|
Back to top |
|
|
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
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 |
|
|
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
What happens when you set BUFL to blksize?
What is blksize?
How is your select/fd coded in the program? |
|
Back to top |
|
|
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Raghavendra,
Quote: |
I fixed the issue this way. |
Nice to know. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome
Thank you for posting your resolution. |
|
Back to top |
|
|
|