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

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

2331


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?

1798


What is static and dynamic call in cobol?

590


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

1542


how to access the file from prodution from changeman tool and to submit a file to production

6680






How do u write test cases?

1633


What are the different rules to perform a Search?

613


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

656


How do we get current date from system with century in COBOL?

796


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

2216


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

701


i want a program using by if, evaluate , string, unstring, perform, occurs?

4046


Write some characteristics of cobol as means of business language.

614


How do you reference the following file formats from cobol programs?

693


Name some of the examples of COBOl 11?

2676