How to resolve the soc4 and soc7 errors?

Answers were Sorted based on User's Feedback



How to resolve the soc4 and soc7 errors?..

Answer / ashu

soc-4 Storage violation error


soc-7 Invalid data in numeric field

Is This Answer Correct ?    14 Yes 0 No

How to resolve the soc4 and soc7 errors?..

Answer / param

You have to look at the dump and note down the offset
address.Then check the instruction with this offset address
in the program compilation output.

Or

If you are blessed with having debugging tools then life is
a lot easier.Debug the program , the execution will stop at
the abending instruction.The advantage is that you can skip
through the statement with changing values and see if there
are any other abends in the program apart from this.Usually
very useful for resolving multiple S0C7 abends at one go!

If i'm wrong..ppl are welcome to correct me!

Is This Answer Correct ?    9 Yes 0 No

How to resolve the soc4 and soc7 errors?..

Answer / billyboyo

The general technique for any abend in an IBM Cobol program
is the same. Look at the dump. Find the address of the
instruction that is failing. Find the program the
instruction is in. Find the displacement of the failing
instruction in the program. Find the program statement from
that.

Then, having identified the line of code and the field(s)
involved, work out what got messed up. It could be the
data, it could be your code, it could be someone else's
code. There are even other rare possibilities.

Is This Answer Correct ?    4 Yes 0 No

How to resolve the soc4 and soc7 errors?..

Answer / swamy

soc4 when u r tryng to access a memory location for which u
don't hav access

soc7 non numeric operation on numeric field

Is This Answer Correct ?    9 Yes 7 No

How to resolve the soc4 and soc7 errors?..

Answer / nagappa

Soc4 can resolved using mispleed dd name and dd name is not
matching with file

and soc7 check the sysdump and copy the offest address then
correct it in the program.

Is This Answer Correct ?    8 Yes 19 No

Post New Answer

More COBOL Interview Questions

what is mainframe? what is the mainframe software ? what is use in s/w field?

7 Answers   CSE,


which of the following can be used as a check protection symbol a.Z b.S c.* d.+

2 Answers   TCS,


What are the different rules to perform a Search?

0 Answers  


How to resolve the soc4 and soc7 errors?

5 Answers   IBM, RBS,


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,






Why occurs cannot be used in 01 level in COBOL?

0 Answers   Arigo Infotech,


What is difference between static and dynamic call in cobol?

0 Answers  


What is rmode(any) ?

0 Answers  


what is a zoned decimal data type and how it will be stored?

2 Answers   IBM,


i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."

4 Answers   CSC,


TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

1 Answers   MNC,


What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  


Categories