On 11/28/2016 9:42 AM, gio.cot wrote:
I would need write a generic trigger program that update date and time
change fields ;
...

As the date and time change fields , are always the same, (example
DATA_LOG - TIME_LOG), I would need find the initial field position in input
record update the values in the input record string with substring and then
return back so that in record I will find my date and time updated.

First, use the input-buffer offset in the trigger parameter to get a pointer to the input buffer.

Then use the QUSLFLD API to find the position of the two fields in the input buffer.


This thread ...

Follow-Ups:
Replies:

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].