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



Chris,

You can create an exit program to set this up for you. The exit to use
(wrkreginf) will vary depending on which driver you use (native or
toolbox). The initialization exit is only called when the connection is
established. We use these to set library lists based on the caller's
environment so that programmers will generally get test and users will
generally get production.

David Morris

>>> chris_price@xxxxxxxxx 05/08/03 8:31 AM >>>
I am using an AS400ConnectionPool to manage a pool of AS400 objects in
my
WebApp.

The AS400 objects will be used to run commands and RPG programs.

To ensure the runtime environment for the RPG programs is correct I need
to
setup the library list and LDA on the AS400 connections, before handing
them
onto the App.

Currently I am doing this everytime a connection is retrieved from the
pool,
but this is an unneccessary overhead when the connection has been
recycled. 

Is there any reliable way of telling if an AS400 object retreived from
AS400ConnectionPool is "new". Is it reasonable to test
isConnected(COMMAND)?

Or should I use a ConnectionPoolEvent? And if so how - the javadocs are
very
terse.

Thanks,
Chris.

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.