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
What are the pertinent COBOL
HOw can I get the negative sign while deduct high value from low value
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is a SSRANGE and NOSSRANGE?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Whats the difference between search & search ALL?
Which division and paragraphs are mandatory for a COBOL program?
When is inspect verb is used in cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are various search techniques in cobol? Explain.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do you reference the following file formats from cobol programs?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What are all the divisions of a COBOL program?