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



Not a good idea....

IBM recommends DFTACTGRP(*NO) ACTGRP(*CALLER) so that any changes
made by the trigger can be in the same transaction and commited or
rolled back as the changes the caused the trigger to be fired.

Charles

On Wed, Aug 24, 2011 at 4:09 PM, <rob@xxxxxxxxx> wrote:
So instead of DFTACTGRP(*NO) ACTGRP(*CALLER) you used DFTACTGRP(*NO)
ACTGRP(TRIGGER)
then you could run RCLACTGRP TRIGGER to reset it?

Let's see, for more information read the following, right?
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rzahg/rzahgileconcept.htm
I keep meaning to...


Rob Berendt
--
Group Dekko
Dept 1600
Mail to:  2505 Dekko Drive
         Garrett, IN 46738
Ship to:  Dock 108
         6928N 400E
         Kendallville, IN 46755
http://www.dekko.com





From:   Alan Campin <alan0307d@xxxxxxxxx>
To:     Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date:   08/24/2011 03:12 PM
Subject:        Re: AW: Trigger weirdness with L-Date fields
Sent by:        midrange-l-bounces@xxxxxxxxxxxx



The activation group is based on how the program is complied. If you give
it
a activation group it will run in that activation group. If you give it
*CALLER it will be based on where the caller is running. If it is a client
server job running in QZDASOINIT job that will be the default activation
group. If running in a regular job it will be whatever they are running
in.
. If created with the default that will be default activation group.

On Wed, Aug 24, 2011 at 12:54 PM, Charles Wilt
<charles.wilt@xxxxxxxxx>wrote:

Exactly...I've never really bothered to figure out which activation
group a trigger runs in...my guess is it's one of the Qxxx ones...but
I suppose could be one of the *DFTACTGRP...

Charles

On Wed, Aug 24, 2011 at 2:41 PM,  <rob@xxxxxxxxx> wrote:
More of an RCLACTGRP issue sort of thing then?  But, since you are
doing
ACTGRP(*CALLER)...
[ DSPJOB, option 18]

it becomes a bit tough to reclaim the first one of these, eh?
-------Activation Group--------
Name           Number
*DFTACTGRP     0000000000000001
*DFTACTGRP     0000000000000002
QLGLOCAL       0000000000000011
QSQCLI         0000000000000012
QTESAGRP       0000000000000056
QTESGUI        0000000000000058
QTESTIFC       0000000000000057

Hence the recommendation to just sign off/on again?



Rob Berendt
--
Group Dekko
Dept 1600
Mail to:  2505 Dekko Drive
         Garrett, IN 46738
Ship to:  Dock 108
         6928N 400E
         Kendallville, IN 46755
http://www.dekko.com





From:   Charles Wilt <charles.wilt@xxxxxxxxx>
To:     Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>
Date:   08/24/2011 02:35 PM
Subject:        Re: AW: Trigger weirdness with L-Date fields
Sent by:        midrange-l-bounces@xxxxxxxxxxxx



Assuming you're doing an RPGIV program...
And assuming you're using the recommended values (for trigger
programs) of DFTACTGRP(*NO) ACTGRP(*CALLER)...

Then RCLRSC is meaningless...

You might be able to figure out the activation group being used...but
it's probably easier to simply sign off and back on.

HTH,
CHarles


On Wed, Aug 24, 2011 at 12:56 PM, James Lampert
<jamesl@xxxxxxxxxxxxxxxxx> wrote:
I could have sworn that I did a RCLRSC every time I updated the
trigger
program yesterday, but then again, I've seen RCLRSC fail before.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.