Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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
Author Message
gvel19

New User


Joined: 20 Jul 2008
Posts: 20
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
References
gvel19

New User


Joined: 20 Jul 2008
Posts: 20
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 D.

Global Moderator


Joined: 22 Apr 2006
Posts: 2353
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 & tel 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

Senior Member


Joined: 06 Jun 2008
Posts: 1182
Location: Atlanta, GA

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: 20
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

Senior Member


Joined: 06 Jun 2008
Posts: 1182
Location: Atlanta, GA

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1