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



We do this a fair amount in our code. However, the only way we have found 
to do it, is simply issue a command such as CHGLIBL. We do this via the 
CommandCall class. So from the Javadocs, this would be something like:

                       // Create an AS400 object.
     AS400 sys = new AS400("mySystem.myCompany.com");

                       // Create a command call object. This
                       // program sets the command to run
                       // later. It could set it here on the
                       // constructor.
     CommandCall cmd = new CommandCall(sys);

                       // Run the CHGLIBL command
     cmd.run("CHGLIBL (QGPL QTEMP NEWLIB STDLIB)");

                       // Get the message list which
                       // contains the result of the
                       // command.
     AS400Message[] messageList = cmd.getMessageList();

                       // ... process the message list.

                       // Disconnect since I am done sending
                       // commands to the server
     sys.disconnectService(AS400.COMMAND);


Jeff Furgal
Product Architect
Lakeview Technology, Inc.

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.