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
what is the difference between COBOL2 AND COBOL390?
what happens if parmparameter passes zero bytes to the program
What are the rules of the move verb?
What are all the divisions of a COBOL program?
How do you define a variable of comp-1 and comp-2?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Can we change the password using ALTER? anyone tried and changed?
What are the different data types in cobol?
What rules are followed by the search verb.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the Purpose of Pointer in the string?
how do you reference the printer file formats from cobol programs
What are the different types of condition in cobol and write their forms.
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.
how to move the records from file to array table. give with code example