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
 
How to detect soc7 error and correct it.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Gurucharan

New User


Joined: 27 Feb 2004
Posts: 4

PostPosted: Tue May 25, 2004 3:22 pm    Post subject: How to detect soc7 error and correct it.
Reply with quote

hi folks,

Is there any way to detect and correct the soc7 error.
Back to top
View user's profile Send private message

anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Tue May 25, 2004 7:22 pm    Post subject:
Reply with quote

hello gurucharan,

Many times the reason for SOC7 is an un-initialized numeric item.

Examine that possibility first.

Many installations provide you a dump for run time abends
These dumps provide the offset of the last instruction at which the abend occurred. Examine the compilation output XREF listing to get the verb and the line number of the source code at this offset. Then you can look at the source code to find the bug.

OR You can use the batch program debugging tools

hope this helps,

Thanks,
Anu
Back to top
View user's profile Send private message
Johore

Specialist


Joined: 12 Sep 2003
Posts: 19

PostPosted: Wed May 26, 2004 9:06 am    Post subject:
Reply with quote

hi gurucharan,

S0C7 usually happens due to improper handling of numric fields. Make sure all your fields have been initialized before move or compute operations. and that alphanumeric items are not moved to numeric items.

When you get a S0C7 the system will display an OFFSET.
Go to the compile listing of the program and search for the HEXLOC ..this is basically the hex loactions of the code or the offset. Here search for hte given offset or the closest value to the offset. There wil be a line number to the left. Search for this line number and u get the stmts where the S0c7 Might have occured.

Check for the conditions mentioned above.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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