Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to resolve SOC-7 error

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

New User


Joined: 06 May 2005
Posts: 20
Location: Bangalore

PostPosted: Sat May 07, 2005 11:04 am    Post subject: How to resolve SOC-7 error
Reply with quote

Hi all,

How to resolve SOC-7 error?
Back to top
View user's profile Send private message

brain_s390

New User


Joined: 06 May 2005
Posts: 58
Location: Mumbai

PostPosted: Sat May 07, 2005 10:36 pm    Post subject: Re: SOC-7
Reply with quote

Hi Praneeth!

SOC7 occurs due to an un-initialized numeric item i.e. moving alphanumeric data item to numeric data item.

OS installations provide you a dump for run time abends .....I hope in JCL listing you will see ABENDAID output or any other tool outputs where you can see these dumps which will 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. To get capture the runtime dumps, you will have to define some datasets i think it should be something like SYSABOUT.
Back to top
View user's profile Send private message
crreddy

New User


Joined: 09 May 2005
Posts: 4

PostPosted: Tue May 10, 2005 2:51 pm    Post subject: Re: SOC-7
Reply with quote

Hi Praneeth,
S0C7 error caused by bad data, which the program was unable to detect.
THIS MAY BE DUE TO DATA EXCEPTION - DECIMAL DATA IS INCORRECT OR IMPROPERLY OVERLAPPED OR NOT VALIDLY INITIALIZED. --POSSIBLE CAUSE-- SUBSCRIPT ERROR, REFERENCED BEYOND TABLE
COBOL - WORKING STORAGE NOT INITIALIZED - BAD DATA.

SOLUTION:
SHOULD CHECK DATA FOR ERRORS -
INITIALIZE PROPERLY ALL DATA FIELDS -
CHECK FOR NUMERIC CONDITION, AND ACT PROPERLY IF NON NUMERIC DATA -
GARBAGE IN A FIELD BEING TESTED OR DISPLAYED -
MOVE ZEROES TO GROUP LEVEL IS DISPLAY, HAD SUB-LEVELS THAT WERE NOT -
PERIOD MISSING AFTER IMPERATIVE STATEMENTS WITHIN AT END CLAUSE -
BINARY FIELD IN AN ARITHMETIC OPERATION IS NOT LARGE ENOUGH TO ACCEPT RESULT.

-crreddy
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 Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us