I just debugged (STRDBG) a trigger program yesterday. Now the program which
caused the trigger to fire is an interactive maintenance program so, if the
trigger is fired by a batch program, you need to follow Rob's suggestion.
But, since the trigger is on a table, not fired by a specific program, the
goal is apparently to debug the trigger program so usually anything that
causes the trigger to fire will suffice to start the debug session.
Jerry C. Adams
IBM i Programmer/Analyst
History doesn't repeat itself, but it rhymes. -Mark Twain
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Monday, June 11, 2012 4:40 PM
To: 'Midrange Systems Technical Discussion'
Subject: how to debug Trigger pgm
Can I put a trigger pgm in debug using STRISDB or STRDBG,
Then update a record using DBU
And have the debug session pop up for the trigger pgm?
If not, how can I update a pgm in DBU and debug a trigger pgm using DBU to
update the data in the PF?
Thanks
______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
Skyscan service.
For more information please visit
http://www.symanteccloud.com
______________________________________________________________________
--
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.