|
I'm working on a project where a shop floor device will use FTP to inserta
record into a PF file. The plan is to use a trigger to process theincoming
record, but the specs also call for the trigger to write a result recordsays
into the same file.
For instance, the shop floor device might put a record in the file that
"SERIAL#=12345678', then I need to write a result record, eitherother
'SERIAL#=12345678 not found' or 'SERIAL#=12345678,PCS=100', or several
repliesignore
The trigger will fire again when we write the record. I've tried setting
the trigger to *DISABLED before I write my result record, but I'm still
getting RNX8888, RPG program TRIGGER was called recursively.
I'm not sure that the shop floor device could receive the result
transactions in a different file. Is there a way for the trigger to
certain events?
Thanks, Jack
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.