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



ISeries article; Article ID 1538

6 Commands to Simplify Library Lists

Michael

_____

From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of rpg400-l@xxxxxxxxxxxxxxxx
Sent: Friday, May 25, 2007 1:56 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Alternative to ADDLIBLE using QCMDEXC



Hello,

Write a non-simple subprocedure that retrieves, and then inserts the
new library where you want it, and call it ADDLIBLE.

I took a completely different tack on this when I approached it in my
shop. I have a procedure that saves the existing library list. Then I
have another procedure that sets a completely new library list. Then a
3rd procedure that restores the old one.

That way, my program saves and changes the library list when it starts.
Operates just fine with it's custom library list. Then restores back
to whatever the old one was just before it ends.

I was thinking of enhancing this approach to use a "stack" of previous
library lists so that I can nest programs, all of which change their
library list.
--
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 message contains information from Certegy, Inc which may be confidential
and privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify by e:mail postmaster@xxxxxxxxxxxx
==============================================================================

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.