Re: Stopping/Starting Triggers

Jimmy Sansi <[email protected]> Tue, 10 Mar 2026 11:46:15 -0700
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <[email protected]>
For XA use the trigger maintenance programs to stop/start triggers. 
Infor support will affirm that. Any custom triggers/programs can be 
setup there as well.

On 2026-03-10 11:42, Jerry Forss wrote:

> Part of my file purge process is going to end triggers on a file, pruge 
> the records, reorg the file and readd the triggers.
> 
> Is there any concerns with doing the CHGPFTRG FILE(Lib/File) TRG(*ALL) 
> STATE(*DISABLED)
> Do my purging, and then CHGPFTRG FILE(Lib/File) TRG(*ALL) 
> STATE(*ENABLED)
> 
> I am asking Infor XA as well being it is on all their files.
> 
> I was going to get a list of the triggers and do RMVPFTRG 
> FILE(LIB/FILE) TRGTIME(*ALL) TRGEVENT(*ALL) TRG(*ALL)
> Do my purging, and then for each trigger do the ADDPFTRG.
> 
> Thoughts?
> 
> Subject to Change Notice:
> 
> WalzCraft reserves the right to improve designs, and to change 
> specifications without notice.
> 
> Confidentiality Notice:
> 
> This message and any attachments may contain confidential and 
> privileged information that is protected by law. The information 
> contained herein is transmitted for the sole use of the intended 
> recipient(s) and should "only" pertain to "WalzCraft" company matters. 
> If you are not the intended recipient or designated agent of the 
> recipient of such information, you are hereby notified that any use, 
> dissemination, copying or retention of this email or the information 
> contained herein is strictly prohibited and may subject you to 
> penalties under federal and/or state law. If you received this email in 
> error, please notify the sender immediately and permanently delete this 
> email. Thank You
> 
> WalzCraft PO Box 1748 La Crosse, WI, 54602-1748
> www.walzcraft.com [1]<https://www.walzcraft.com> Phone: 1-800-237-1326


Links:
------
[1] http://www.walzcraft.com
-- 
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.