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 / baskar

S0C4 occurs mainly due to protection exception. It means
when you trying to move a larger variable to a small
variable. Whereas S0C7 is data exception. It occurs when
you try to move a non numeric value to a Numeric variable.

Is This Answer Correct ?    107 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

883


how do you reference the fixed unblock file formats from cobol programs

698


What is rmode(any) ?

676


what is search and searchall?what is the diffrence between them?give an best example?

5521


What are the various section in data division and briefly explain them.

681






How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

687


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1904


What are all the divisions of a COBOL program?

656


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3706


What is the difference between PIC 9.99 and 9v99 in COBOL?

725


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

984


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

761


What do you understand by psb and acb?

659


How can you get the ksds file records into your cobol program?

634


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.

918