|
----- Message from "gio.cot" <gio.cot@xxxxxxxxxxx> on Mon, 28 Novhttps://publib.boulder.ibm.com/html/as400/v4r5/ic2979/info/db2/rbafomst288
2016 15:42:24 +0100 -----
To:
<rpg400-l@xxxxxxxxxxxx>
Subject:
Generic trigger - Dinamically field position find
I would need write a generic trigger program that update date and time
change fields ;
This is my scenario:
Trigger program receive the two standard parameter
(
htm#HDRRZAHFTRC )input
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
record update the values in the input record string with substring andthen
return back so that in record I will find my date and time updated.fiels
Can some help me with some example or how to find the initial fields
position ??
Keep in mind I have about 25 files that have the same date and time
and I would like to write only one trigger program to update this twofield
Thanks in advance
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.