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

Solve SO4C abend using the OFFSET or PSW


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Mon Sep 22, 2008 9:12 am
Reply with quote

I got a SOC4 abend for a program.How do I find the line no. where the error has occured. How to find it using the following

1) OFFSET
2) PSW
Back to top
View user's profile Send private message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Mon Sep 22, 2008 12:39 pm
Reply with quote

I got a SO4C abend and I checked the same in some books couldn't find it. I have checked the DUMP in the spool but didn't get any information.

Thanks,
Velmurugan G
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Sep 22, 2008 12:47 pm
Reply with quote

Hi,

The reason for S0C4 is when an application program passes an invalid parameter-list address or a parameter list which is not read/write accessible. Might be in program logic READ verb is not properly coded, however You've provided a very little information to get a better suggestoin. Tell us a little about the program which was executing while abend occurs.

Further, there are other DD names which can provide You ABEND info, please share Your JCL, might provide an insight.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Sep 22, 2008 5:17 pm
Reply with quote

First question: was it an S04C or S0C4? The first has to do with a terminal monitor program, the second with addressing. The first is pretty rare, the second is quite common.
Back to top
View user's profile Send private message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Mon Sep 22, 2008 5:57 pm
Reply with quote

Hi Robert,

1)SO4C abend
2)How to find the line number (where the error has occured) using the PSW and the OFFSET. What we need to do using the PSW (or) OFFSET number in the compile list. I have checked the OFFSET in the compiling list and could not able to find it.

Thanks,
Velmurugan
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Sep 22, 2008 6:26 pm
Reply with quote

Standard debugging methods apply. Does the message indicate the abend occurred in your program, a subprogram, or a system program?

What is the program doing? How far did it get when it blew? Do you have Abend Aid on site? If so, where does Abend Aid say the program blew?

Post the exact messages for the abend.

What language is the program written in? If COBOL, does the compile include a LIST or OFFSET option? If not, first recompile the program with LIST (or OFFSET) to get verb offsets.
Back to top
View user's profile Send private message
Shobana Bhaskar

New User


Joined: 02 Mar 2007
Posts: 35
Location: Pennsylvania, US

PostPosted: Thu Feb 05, 2009 9:19 pm
Reply with quote

I got the same abend in one of my modules. The reason was on fetching CLOB DB from a table I have used COALESCE(CLOB_COL, ' '). Once I removed this COALESCE, the job went fine. Check if this could help you.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Feb 06, 2009 8:15 am
Reply with quote

The problem was encountered over 4 months ago. I certainly hope the original poster solved this before now. icon_smile.gif
Back to top
View user's profile Send private message
Shobana Bhaskar

New User


Joined: 02 Mar 2007
Posts: 35
Location: Pennsylvania, US

PostPosted: Sun Feb 08, 2009 1:26 pm
Reply with quote

Yes that's true. However this may help someone else who are looking to solve SO4C.
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top