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

Possible causes for the Abend SOC4 include:
1. Invalid address was referenced due to subscript error or
bad parameter passed
2. If we are moving a group move, then the receiving record
variable lenght is defined incorrectly, like the target
field size is less than the moving field size.
4. In Files, if we are trying to read or write a file which
was not open, then we can get SOC4.
5. Tried to goback in the SORT output procedure.

Is This Answer Correct ?    38 Yes 4 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?

1066


Write some characteristics of cobol as means of business language.

816


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

1032


What is rmode(any) ?

886


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

898






What is comp-1 and comp-2?

919


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

891


Can we redefine the field of x(200) to less than 200?

1074


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

1026


What is the difference between external and global variables in COBOL?

1029


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1943


What are the different open modes available in cobol?

922


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

841


What are different data types in cobol?

897


Discuss about changing dataset name in proc.

946