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

what is the difference between COBOL2 AND COBOL390?

2755


what happens if parmparameter passes zero bytes to the program

1896


What are the rules of the move verb?

969


What are all the divisions of a COBOL program?

918


How do you define a variable of comp-1 and comp-2?

932


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

998


Can we change the password using ALTER? anyone tried and changed?

1767


What are the different data types in cobol?

1068


What rules are followed by the search verb.

854


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

926


What is the Purpose of Pointer in the string?

842


how do you reference the printer file formats from cobol programs

918


What are the different types of condition in cobol and write their forms.

883


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5448


how to move the records from file to array table. give with code example

2450