What do you do to resolve SOC-7 error?

Answers were Sorted based on User's Feedback



What do you do to resolve SOC-7 error?..

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

What do you do to resolve SOC-7 error?..

Answer / chellad

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

Post New Answer

More COBOL Interview Questions

i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)

3 Answers   Cap Gemini, Mind Tree,


What are the different data types available in COBOL?

4 Answers  


In a program, variables are used but no DB2 involved in it. Can you call it as host variables??

4 Answers   EDS,


What is the difference between a binary search and a sequential search?

3 Answers  


given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1

5 Answers   Broadridge, TCS,






in cobol perform stmt whether it first checks the condition or not

9 Answers  


What will happen if we generate GDG +2 version instead of +1 version?

2 Answers   T systems,


In COBOL programming, what is PERFORM? What is VARYING?

0 Answers   CDC,


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


Name the sections present in data division.

0 Answers  


How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

0 Answers  


Categories