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

How to read a 100 record from a file through cobol?

2 Answers  


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?

7 Answers  


what is the advantage of sync class

3 Answers   ACS,


What divisions, sections and paragraphs are mandatory for a COBOL program?

8 Answers   Arigo Infotech,






Can we move X(7) to S9(7) COMP?

1 Answers  


Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you

1 Answers   BPL,


what is amode(24), amode(31), rmode(24) and rmode(any)?

0 Answers  


How do we get current date from system with century?

2 Answers  


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,


given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

2 Answers   TCS,


a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?

4 Answers  


Categories