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
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is static and dynamic call in cobol?
Can we change the password using ALTER? anyone tried and changed?
how to access the file from prodution from changeman tool and to submit a file to production
How do u write test cases?
What are the different rules to perform a Search?
What are the different types of condition in cobol and write their forms.
How do we get current date from system with century in COBOL?
how to move the records from file to array table. give with code example
How do you define a variable of comp-1 and comp-2?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write some characteristics of cobol as means of business language.
How do you reference the following file formats from cobol programs?
Name some of the examples of COBOl 11?