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 |
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
where did you see the information regarding abend codes in jcl?
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
what is the difference between COBOL2 AND COBOL390?
how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........
CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
which is better either static call or dynamic call? and why?
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
What is an in line perform? When would you use it? Anything else you wish to say about it.
how do you reference the rrds file formats from cobol programs