Posted: Tue Jun 20, 2006 5:59 pm Post subject: Re:SOC 7 Issue
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.
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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum