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 / sandeep

S0C4 occurs mainly due to protection exception. It means
when you are using subcripts for example my subsripts range
is 11 but I am trying 12 & your compiler option is ssrange
you got soc4 error.

Is This Answer Correct ?    56 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10579


how do you reference the fixed unblock file formats from cobol programs

705


explain sorting techniques in cobol program?

686


what is the use of outrecord?

1768


What are the different rules for performing sort operation?

757






Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

643


What the difference is between continue and next sentence?

651


What is the difference between Global and External Variables?

660


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

1542


What is Pic 9v99 Indicates in COBOL?

722


What rules are to be followed while using the corresponding options?

633


Which mode is used to operate the sequential file?

658


how do you reference the rrds file formats from cobol programs

792


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1950