I haven't worked on trigger programs in years and have a question. We have a (*UPDATE *BEFORE) trigger over a file. Trigger condition is *Always allow repeated change = No. The trigger program is an RPGLE type dftactgrp(*no) actgrp(*caller) and we are running V5R4.
I have a field that should be updated by the trigger but isn't. I can update the field with any value and in debug can watch the code change the value to the correct value but once the program exits the value in the file exists just as if the trigger had never fired. Any ideas of why the field isn't being updated?
When I run it thru debug I choose Update Production Files *Yes.
I have a field that should be updated by the trigger but isn't. I can update the field with any value and in debug can watch the code change the value to the correct value but once the program exits the value in the file exists just as if the trigger had never fired. Any ideas of why the field isn't being updated?
When I run it thru debug I choose Update Production Files *Yes.
Comment