You could define a BEFORE trigger (either for update and/or insert) and
check and fix the bad data before it gets to the file.
That said, although chopping off fingers seems a little extreme, I always
thought that it would be nice to have a way to send electric shocks to the
users thru the keyboard :-)
IF %USER_ERROR >= n;
IBM Certified Systems Expert - eServer i5 iSeries