Analyzing a data exception error to determine where the error occurs
search cancel

Analyzing a data exception error to determine where the error occurs

book

Article ID: 11395

calendar_today

Updated On:

Products

Gener/OL

Issue/Introduction

You are not receiving data exception messages but instead receiving data exceptions. What is the best method to analyze a data exception error to determine where the error occurs?

Resolution

Review for a HANDLE command in the program. If so, replicate the HANDLE line and comment out the original line.

From the replicated line, remove any path for a data exception off of the HANDLE command line (i.e., data check (DCK), program check (ASRA), or run-time error (RTE)). ASRA, DCK and RTE are the current data exception paths for a HANDLE command; however, in the future there may be others.

As such, refer to the Gener/OL Reference Manual under the topic HANDLE Command.

Rerun the program. You should then get the error messages for a data exception, which will tell you the line the data exception occurred, the field name and the bad data. Correct the field(s) in question.