|
Dunno if this will help but, I recently had a situation like this only a standalone app was calling CL which called RPG and the best way I could come up with to manage a lib list was to set it prior to the calls in a CL program or if you are using a valid user name and password to get a connection to the AS400 set the user profile to have all needed libs in list on signon. Mark Phippard wrote: > > Is there an easy and consistent way to control the library list that is in > effect when a Java program executes? > > I have a Java class that I am creating that will be making calls to various > "native" programs, as well as possible accessing files. This class will be > executed in a variety of ways, possibly from a servlet in WebSphere, > possibly from a CL program via RUNJVA, etc. I would like to control the > library list externally so that I can run the same program in different > environments, therefore I do not want the Java class itself to manipluate > the library list. > > How can this be done? I have seen references to setting some Java > properties, but I am not sure if that is specific to WebSphere or could > always be used. > > I would be more than happy if I could just be pointed to the relevant > documentation if it exists. > > Thanks > > +--- > | This is the JAVA/400 Mailing List! > | To submit a new message, send your mail to JAVA400-L@midrange.com. > | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. > | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: joe@zappie.net > +--- -- ____________________________________________________________ Long live the Penguin!!! Duane Kehoe Phone # 414.908.1814 Junior Programmer/Analyst Fax # 414.908.1814 Weyco Group, Inc. Email: dkehoe@weycogroup.com +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.