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



Write a small CL *PGM that you can call from your trigger to find the name of the caller. See:

http://www.tylogix.com/Articles/TriggerTechniques.htm

for details.

(A quick Google search for "name of program that called trigger" generated lots of hits.)

> Kesterson, Randy wrote:
Does anyone know if any of the "Information" data structures has the
name of the program, if any, that called the program you're in?


I'm going to put a trigger on one of the files in our system to save a
record in a separate file anytime a record is deleted or a specific
field within a record is blanked out. I'm tracking down the cause of
two separate issues here and it would be nice to be able to add a field
to the saved record that says what program called, or caused, this
trigger to run.


Thanks,


________________________________________________________________________
______________________
Randy Kesterson, Information Services

Market Transport Services - a UTi Worldwide Company| 110 N Marine Drive
| Portland, OR 97217 | USA
rpkesterson@xxxxxxxxxxxxxxxxxxx <mailto:rpkesterson@xxxxxxxxxxxxxxxxxxx>
| D +1 503.978.4353 | O +1 503.283.2405 x353 | F +1 503.978.4392


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.