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



David

At 01:24 PM 11/24/97 -0500, you wrote:
>I need the help of some activation group experts!
>
>First the background:
>       I have a trigger program (TRGR_PGM), that is called after a record is
>added to 
>       a history file (HIST_FILE).  On any day, 500 - 1000 recs are added to
>HIST_FILE.
>       The recs are added to HIST_FILE from 1 of 4 possible OPM RPG/400 
>programs
>       running in batch.  My trigger program, (TRGR_PGM), is written in RPG IV.
>       
>Here's my question:
>       My concern is I don't want to activate TRGR_PGM each of the 500 - 1000
>times/day
>       that it runs.  When I create TRGR_PGM, using the CRTBNDRPG command, 
>       if I take the default on "default activation group (*YES)", then 
>TRGR_PGM 
>       will be run as a OPM program (this is known as compatibility mode).  I'm
>not doing
>       any binding in TRGR_PGM, so maybe this is OK.  Will the default 
>activation
>group
>       get deleted after each time TRGR_PGM is called?  Would I be better off
>using
>       a named activation group (either QILE or some other)?
>
>Also:
>       I do not know the last time each day that TRGR_PGM will be used.  If I 
>am
>       using a persistent activation group, do I have to do a RCLRSC/RCLACTGRP?
>       The only way I can think of to do this is to put the RCLRSC/RCLACTGRP
>       in our nightly BACKOFF before ending our subsystems.  We IPL once/week.
>       Is there any reason I really need to get rid of a persistent activation
>group,
>       since TRGR_PGM will be used every day?

I'm no expert, but here's what we use:

Default activation group *NO
Activation group *CALLER

I think we had to make copies of the CRTBNDxxx commands and change the
defaults.

HTH

Vernon Hamberg
Systems Software Programmer
Old Republic National Title Insurance Company
400 Second Avenue South
Minneapolis, MN 55401
(612) 371-1111 x480


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.