How to resolve the soc4 & soc7
other than following answers.
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.

Answer Posted / sainath

whenever sco4 error occurs there are two types are reasons
are there.......
1)Array in subscript size we are assign 5bytes of memory.we
are giving 6bytes of memory on that time soc04 error come.

2)in file concept file record length is 80.when ps record
length is not equal to 80,soc04 error will come.
so plz check out ps & file reclength.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a Search can be done on a table with or without Index?

1034


How do we get current date from system with century in COBOL?

1040


Why occurs cannot be used in 01 level in COBOL?

894


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1394


How do you differentiate between cobol and cobol-ii?

835






How are the next sentence and continue different from each other?

990


What is rmode(any) ?

886


What is a SSRANGE and NOSSRANGE?

1090


What the difference is between continue and next sentence?

856


What are the pertinent COBOL commands?

2815


Write the code implementing the perform … varying.

805


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

891


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1836


A table has two indexes defined. Which one will be used by the SEARCH?

998


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1026