I check to ensure the library isn't already there. But when it does get
added it still spits a success message into the job log. I am going to look
at the other API's others have suggested and see how that works for my
situation.
Aaron Bartell
http://mowyourlawn.com
-----Original Message-----
From: rpg400-l-bounces+albartell=gmail.com@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces+albartell=gmail.com@xxxxxxxxxxxx] On Behalf Of
rob@xxxxxxxxx
Sent: Friday, May 25, 2007 7:58 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Alternative to ADDLIBLE using QCMDEXC
You monitor this. When your PSDS gets the message in the exception id field
that the library was already in your library list then you call the api to
remove the message.
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
"albartell" <albartell@xxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
05/25/2007 08:15 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
To
"'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx>
cc
Fax to
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
As an Amazon Associate we earn from qualifying purchases.