Page 1 of 1

DATA EXCEPTION

PostPosted: Thu Sep 03, 2009 4:56 pm
by GLEO
During the test of my program,I encountered data exception but I dont know
how to find out why data exception occured.
This is the code:
EXECUTION FAILED WITH VSE CANCEL CODE 20 AND INTERRUP
CODE 07.
COMPILE UNIT OFFSET +00001FF6 AT ADDRESS 0070206E.
How can i know this using the offset or is there any method on how can i know what was the cause?
thanks for help.

Re: DATA EXCEPTION

PostPosted: Fri Sep 04, 2009 12:52 am
by dick scherrer
Hello and welcome to the forum,

The offset given is where the failing instruction is located in your program. To find which statement this relates to look at your compile output. The offset may not exactly match an instruction location because many cobol statements generate more than one executable instruction.

Onother option is to look in the dump at the address specified and determine the problem from the instruction and the values at the locations where the registers for that instruction indicate (not a good first-time exercise if working on something that is needed quickly - it is a great way to learn more about the system).