Hello. I have the followin problem.

We use to pass parameter between video and program by defining a DS like
the video format,.

We also have a 'generic' SRVPGM that allow to save/restore the DS on an
external file based on user profile (this allows the last-used-parameter to
be retain at video when the user re-enter the video).

The file has just a 256char text fieled which will be moved to/from the DS.

The problem arises when the video changes due to added new field: if
there's at least one numeric field, and the video has been changed, the
returning DS generate a 'decimal data error' on the Exfmt statement. We
need to remove with SQL previuosly saved info from the file and restart
from scratch, which sometimes you forget to do.

We would like to 'trap' the error, reset the DS to *INZ status and continue
with blank data. Tried to monitor the exfmt, but no luck.

Any hint on how to monitor the display error in a generalized way ???

Nicola Brion

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].