Hi,
Can some one suggest me how to solve the S0C7 error and how to find which instruction or data is giving that error?
I am able to see SYSUDUMP.
S0C7 error
Moderators: Frank Yaeger, DikDude, Moderator Group
Basically, you need to look for the offset at the sysout. Taking that offset, you will have to search the compile listing for the instruction that would've caused this abend.
HTH.
HTH.
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
Re:SOC 7 Issue
Hi
The SOC 7 abends because of improper movement of data values in the defined files.
It will abend when you try move charecter to numeric fields or else you didn't define the fields properly for the binary,zonal decimal and packed decimal etc.
So you try to analyze where it get's abends and check for the fields where it get abends, then you will come to know the idea above said.
Regards,
The SOC 7 abends because of improper movement of data values in the defined files.
It will abend when you try move charecter to numeric fields or else you didn't define the fields properly for the binary,zonal decimal and packed decimal etc.
So you try to analyze where it get's abends and check for the fields where it get abends, then you will come to know the idea above said.
Regards,
At time of Abend PSW points to the Next Sequential Instruction i.e. the one after the one that caused the S0C7.
Map its location back to the source and examine the fields being operated on by looking in the dump.
be aware that the contents of the fields will those after the S0C7 op completed not as they were before. This means you have to either work backwards from the field contents (not hard as PD format is well unknown) or look at fields in a different location - you may or may not be able to do that depending on the code used (intermediate fields etc, or if its a field in a record a look at the copy in the buffer).
It may be 'bad data' in a file rather than your code. other people's code that does not validate/work properly can catch you out. If so some quiet words with them may help....
So the bug may be in your program - or someone else's.
<< LINE DELETED >>
Map its location back to the source and examine the fields being operated on by looking in the dump.
be aware that the contents of the fields will those after the S0C7 op completed not as they were before. This means you have to either work backwards from the field contents (not hard as PD format is well unknown) or look at fields in a different location - you may or may not be able to do that depending on the code used (intermediate fields etc, or if its a field in a record a look at the copy in the buffer).
It may be 'bad data' in a file rather than your code. other people's code that does not validate/work properly can catch you out. If so some quiet words with them may help....
So the bug may be in your program - or someone else's.
<< LINE DELETED >>
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page