What do you do to resolve SOC-7 error?
Answers were Sorted based on User's Feedback
Answer / a.roselin
1. Abend Aid is one of the tool which will trace out the
invalid numeric data over the field.
2. In Spool we could see the offset address of the invalid
numeric field and copy the offset address and pass it to
Parm Parameter on the JCL, it will display the invalid
numeric field of the statement in COBOL program.
| Is This Answer Correct ? | 8 Yes | 5 No |
Soc7 abend will be thrown because of moving any non numeric variable to numeric variable.
The fix is , you have to go to spool.
Check for the DD names either CESDUMP or AbendAid.
Please select the DD name using S
Then try to find the offset address and line number.
If line number doesn't exist then copy offset address and go back to SYSPRINT in spool
In the command line type L_offset address and press enter
You can now see the exact line.
Now go to your program and enter the line number in command area and press enter
You will be moved to the exact line which has error..you can correct it and then go for recompilation and execution.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you code Cobol to access a parameter that has been defined in JCL?
Why would you use find and get rather than to obtain?
What is the difference between working storage copybook and linkage section copybook?
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
how to code in cobol while using variable block file?
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
What is the use of LINKAGE SECTION?
1)what is use of linkage section? 2)what is difference between comp and comp-3
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is COMP SYNC?
What is the meaning of 'TALLING' verb in cobol?