× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 1/31/2018 2:49 PM, JRusling@xxxxxxxxxxx
wrote:
When a process/program updates a file and causes the trigger to fire which
then calls an rpg program --

1. Is the process/program that updated the file available to the rpg
program? (ie DBU, STRSQL, RUNSQLSTM or another program)

Ish. You can crawl the call stack to find the programs involved. If it
turns out that the trigger was fired due to I/O from say, a web program,
ODBC or JDBC access, you're going to get very generic information about
'what fired the trigger?'.

2. Is the user id which the process/program is running under available to
the rpg program?
(I am assuming yes via the pgm status data structure)

Yes, but once again, let's imagine that the update is coming from a web
app where /every/ transaction uses the same user profile regardless of
the person on the other end of the glass, er, plastic. :-/


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.