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 |
Can we use icetool in cobol program?
What is the difference between a subscript and an index in a table definition?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
0 Answers TryTechnicals Pvt Ltd,
How can we increase the size of an existing PDS to include more no. of modules.
WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.
At the minimum, which division of COBOL is enough to be coded?
How you can read the file from bottom?
what is search and searchall?what is the diffrence between them?give an best example?
Explain fixed length record in cobol? with suitable example
whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What does EXIT do ?