× 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/19/2016 3:55 PM, Englander, Douglas wrote:

Does anyone know if there is a way to capture any job information of the job or program that is causing a trigger to execute? Can that be captured somehow (in the trigger buffer) when the trigger program gets called, so I can track what program or job is writing/updating a record?

The job is easy: it's the same job that the trigger program is running
in. The program is not as easy; there are two customary comments that
go along with this request:

1) Don't use a program name to drive program behaviour.
2) Use QWVRCSTK to walk up the stack to get the name of the caller.

The archives have plenty of examples of that API.



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.