• Subject: NAMED ACTIVATION GROUP
  • From: "David Prowak" <prowakd@xxxxxxx>
  • Date: Mon, 24 Nov 1997 13:24:05 -0500

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?

Thanks for any guidance you can provide.

Dave



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

Follow-Ups:

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.