|
Seems this could be done in CL but is a little harder. An array is simply (as you know <g>) a contiguous region of data elements of the same length. 'Same length' is the hard part in CL, but using a variable and a loop with *CAT could do it. Or a set of variables of the same length and *CAT. Or a hard-coded variable with all the intervening spaces as needed. But I've been wrong before a couple times. At 11:36 PM 5/10/02 +0100, you wrote: >Hello Tim, > >You can use the Change Library List API. This API requires an array of >libraries, so processing will be in an RPG-programme. I think upgrading to >V5R1 this method is the easiest to adapt. >At Midrange Computing there was a tool to maintain libls (Jan '97) Perhaps >you can download it from its successor MCPressOnLine. >Also a similar tool has been provided at iSeriesNetwork, code for the >years 95/96 (do not know year or month, exactly, but it is in that >timespan). to download you have to be a registered member. > >Just a few options. > >Regards. >Carel Teijgeler > >======= At 2002-05-10, 14:08:00 you wrote: ======= > > >Were currently running 4.5 and have plans to upgrade 5.1 sometime this > >summer, so I was looking for a piece of code that could handle the standard > >number of library list now, plus the new larger list later... > > > >But what I would like to do is this... > > > >In my CL, copy the users current library list to memory, and then replace it > >with what I need to do, and then when I'm done, or if there is an unexpected > >error, copy the old library list back... > > > >Is there an easy/clear way to perform this? > >= = = = = = = = = = = = = = = = = = = = > > > > > >_______________________________________________ >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: MIDRANGE-L@midrange.com >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >or email: MIDRANGE-L-request@midrange.com >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.
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.