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
For rewrite, why is it mandatory that file needs to be opened?
In COBOL, what is the different between index and subscript?
Why did you choose to work with ibm mainframe cobol programming?
What is amode(24)?
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
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?
In which area will you utilize 88 level items in cobol?
What is redefines clause in COBOL?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is a scope terminator give example?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Difference between array and sub-script ?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are INPUT PROCEDURE and OUTPUT PROCEDURE?