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 |
Discuss about changing dataset name in proc.
There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.
how can we fetch 3 records in cobol pgm any coding pls ?
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.
How can we increase the size of an existing PDS to include more no. of modules.
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
What is the default value of DISP parameter?
what is Reentrancy and Quasi-reentrancy?
what is the difference between implicit and explicit scope terminator with example?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above
Are you comfortable in cobol or jcl?