AS/400 Adapter 6.0.1 | webMethods AS/400 Adapter Documentation | webMethods AS/400 Adapter Installation and User’s Documentation | Built-in Services | Access Services | wm.as400.access:getConnection
 
wm.as400.access:getConnection
This service allows a user to obtain a connection from AS/400 connection pool. A connected com.ibm.as400.access.AS400 object is returned which can then be used to invoke other commands on the server. Users must explicitly call wm.as400.access:returnConnection service to return the connection to the server pool.
Input Parameters
$AS400Alias
String The connection alias of the AS/400 server.
Output Parameters
$AS400
com.ibm.as400.access.AS400 A connected AS/400 object.
connKey
String The string representation of the connection object.
$ALIAS_CURLIB
String The current library configured while configuring the connection alias.
Example
wm.as400.sample.connection:testPool