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 / vinutna koritala

soc4 error occurs due to invalid address or out of
subscript.i.e trying to read dataset which is in not open.
or
when read command is read againist empty vsam dataset.
how to ignore out of subscript errors?
write logic:pgm=IGYCRCTL
pgm=IEWL/HEWL,PARM=(SSRANGE,NONSSRANGE)are compiler options
which must be coaded in parm parameter.
soc7 error occurs in the foll situations.
moving data from alphanumeric to editing characters.
moving data from editing characters to alpha numeric data
type.
involve alphanumeric datatypes in arthemetic operations.

Is This Answer Correct ?    11 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by psb and acb?

666


What is the difference between Call and a Link?

700


Why would you use find and get rather than to obtain?

690


How do you reference the fixed block file formats from cobol programs

705


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1943






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

676


How do define dynamic array in cobol.

671


In which area will you utilize 88 level items in cobol?

722


Define cobol?

862


Give some examples of command terminators?

759


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

2337


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657


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.

5065


Which mode is used to operate the sequential file?

669


How to remove 2 duplicate records and copy only one using job control language?

753