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



Triggers are regarded as database objects, hence the recommendation to keep them in the same place as your other database objects, (tables, views, indexes, etc.)

Consider also if there any application impacts if triggers >are< placed in a separate library:

- Commitment control
- Backup and recovery implications
- Library authorities

(Simpler if they're in the same library.)

Brian.

On 17/03/2021 16:11, Robert Rogerson wrote:
Hi All,

The standard in our shop is that files/tables go in FILLIB and programs go
in PGMLIB.
My requirement is to create a trigger (RPG) program and I'm undecided as to
which library to put the program in.

IBM recommends the data library (
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/dbp/rbaforzahftrg.htm)
but this goes against our shop standard. The document suggests the file
library but I can't find any documentation as to why the file library.

Is there any reason I shouldn't/can't use PGMLIB?

Thanks,

Rob


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.