To offer a reason why you might want to rethink message removal--
I've been working on stored procedures that adopt authority. They are
called by a trading partner using JDBC. Since they come through a
QZDASOINIT job and we don't want to change the QUSER library list
permanently, we add libraries at the beginning of the procedure and
remove them after. The library messages bothered me, too. But just
yesterday their absence helped me identify a problem with adopted
authority (I had to change a registration parameter from NO SQL to READS
SQL DATA). Sure they are a pain most of the time, but if they help you
just once, it's worth it to leave them in.
For what it's worth,
Roger Mackie
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of albartell
Sent: Friday, May 25, 2007 7:14 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: Alternative to ADDLIBLE using QCMDEXC
Hi all,
Currently when I need to dynamically add a library to my library list I
use ADDLIBLE and this works fine, but when many libs are needed it fills
the job log with a lot of addtl informational lines stating which
libraries have been added and removed - messing to look at when
debugging. I am wondering if there is another API that can accomplish
the same thing that doesn't put the informational msgs in the job log?
I looked on the V5R3 infocenter page for ADDLIBLE in hopes of saying it
simply overlays a lower level API, but it had no such information.
Thanks,
Aaron Bartell
http://mowyourlawn.com
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.