That's all true, but what the experiment shows is that the verify on write
occurs prior to the trigger on a DDL defined file.
1 - You can't use a trigger in DDL defined file to fix decimal data errors
because they're stopped before the trigger is activated.
As a side note I figured, ok, it passes into the trigger. Can I inject an
error in the trigger? I tried to modify the data structure over which
mynbr is in and again, data management stopped it from getting to the
file.
if focDesc='INSERT' or focDesc='UPDATE';
// inject decimal data error
NEW='AAAAABBBBBBBB';
%subst(datastuff:nwoff-80+1:nwrcl)=new;
endif;
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.