|
|
| Author |
Message |
brahmanandareddy
New User
Joined: 16 Dec 2004 Posts: 48 Location: Hyderabad
|
|
|
|
| I got SOC7 error. How should I know at which location in the program this error has occurred? I should not use offset. I dont have any tools like expeditor or something like this assistance. I dont have anything. Tell me how should I know where it occurred? |
|
| Back to top |
|
 |
References
|
Posted: Wed Dec 21, 2005 1:12 am Post subject: Re: Finding out the location of SOC7 error |
 |
|
|
 |
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1481
|
|
|
|
| Why can't you use "offset"? I's available in your spooled O/P. |
|
| Back to top |
|
 |
mak_tcs
Active User
Joined: 23 Nov 2005 Posts: 76 Location: Minneapolis, MN USA
|
|
|
|
Hi,
For ur Information:
| Quote: |
| 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, SHOULD CHECK DATA FOR ERRORS - GARBAGE IN A FIELD BEING TESTED OR DISPLAYED - MOVE ZEROES TO GROUP LEVEL IS DISPLAY, HAD SUBLEVELS 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 (FOR MORE INFORMATION, SEE DESCRIPTION OF S0C1) |
To fix it, Put display statements in each Paragraph and get the exact paragraph in which the program abends. Then put display statements and get the record causing the abend.
This is ofcourse a iterative procedure, but surely will help u to fix the bug.
Thanks,
Mani |
|
| Back to top |
|
 |
|
|