|
I would also avoid *CALLER. Because multiple job can initiate the trigger so may have several activation group. Probably not a big deal though.
If you are willing to change the code of the trigger program, here is a suggestion:
- Add a table to the program that hold the jod id (number, name ...) and it's type (batch/interactive)
- When the trigger is called, check to see if the job is already in the table
- if so, retrieve the type of job from the table
- if not, call the API to retrieve the type of the job and add this information to the table
This way you will call the API just once per job instead of once per read. My guess is that is where you will get the best performance boost.
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.