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



Exactly, Rob - removing messages that only clutter up a job log is what should always be done - but only for known messages - unknown messages are handled with the usual error handling methods.

I was also suggesting the use of RCVMSG or the API equivalent only when you know exactly the MSGID you want to deal with.

Vern

At 08:21 AM 5/25/2007, you wrote:

Roger,

I am NOT suggesting that one does a MONMSG CPF0000 sort of BS. What I am
saying is that if you get the exact message that says already added, or,
if you want to, you could also remove the one that says that the library
was added successfully.

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Mackie, Roger L. (Precision Press)" <RLMackie@xxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
05/25/2007 09:00 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
RE: Alternative to ADDLIBLE using QCMDEXC






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.


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


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

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.