how we rectify soc4 and soc7 error in project(need real time
answer)? please reply

Answers were Sorted based on User's Feedback



how we rectify soc4 and soc7 error in project(need real time answer)? please reply..

Answer / ramana

go to sysdump there you can find the 8bytes offset
address,,copy that offset,,,go to the expanded version of
your program,,paste the offset adress there,,,
then it will show the exact line where the abend occurs,,

correct me if iam wrong

Is This Answer Correct ?    17 Yes 1 No

how we rectify soc4 and soc7 error in project(need real time answer)? please reply..

Answer / ray davis

SOC4 is a boundary violation (trying to access memory not
allocated to your program. SOC7 is trying use a numeric
field which isn't numeric. Then you do as the previous
post describes and dig though the dump to find out what and
where the problem is.

Is This Answer Correct ?    2 Yes 0 No

how we rectify soc4 and soc7 error in project(need real time answer)? please reply..

Answer / charanya

Either we can try to find using the offset value as the
previous poster suggested and the other way is we can use
DISPLAY in programs to rectify the Soc7 error.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More COBOL Interview Questions

what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?

2 Answers   BirlaSoft,


What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?

2 Answers   Cap Gemini,


Syntax for JCLLIB & JOBLIB???

1 Answers  


we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?

1 Answers  


s9(18) comp-3:: What is the size of memory it takes internally?

4 Answers  






In COBOL "BEFORE" advancing is there or not ?

3 Answers  


consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above

3 Answers   TCS,


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  


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.

1 Answers   IBM,


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

0 Answers  


How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

7 Answers   CGI, TCS,


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

0 Answers  


Categories