Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Solve SO4C abend using the OFFSET or PSW

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Solve SO4C abend using the OFFSET or PSW
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    Post subject: Solve SO4C abend
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

Senior Member


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

PostPosted: Mon Sep 22, 2008 12:47 pm    Post subject:
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Mon Sep 22, 2008 5:17 pm    Post subject:
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    Post subject: Reply to: Solve SOC4 abend using the OFFSET or PSW
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Mon Sep 22, 2008 6:26 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us