by Akatsukami » Thu Jan 17, 2013 11:07 pm
No, because the S
0C7 abend may not necessarily be caused by data directly derived from an input record.
The exact method of debugging will vary slightly depending on the source language. In general, however:
- Get the offset within the load module and routine of the failing machine instruction.
- Find the source instruction containing that machine instruction in the program map.
- Get the address(es) of the packed decimal variable(s) used by that source instruction in the data map.
- Find those locations in the dump.
- Determine what is the bad data, and in necessary where it came from.
Some or all of these steps may be greatly simplied if your shop uses a fault-handling product as
e.g., Abend-AID.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day