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:connect
 
wm.as400.access:connect
Allows a user to connect to an iSeries server. A connected com.ibm.as400.access.AS400 object is returned which can then be used to perform other operations on the server resources. Users must explicitly call the com.ibm.as400.access:disconnect service to disconnect from the server.
Note:
This service would create a new connection to the server every time. To obtain a connection from the connection pool and to use connection aliases use the service com.ibm.as400.access:getConnection.
Input Parameters
$AS400System
String The name of the AS/400 server.
$AS400UserId
String The user profile name to use to authenticate to the server.
$AS400Password
String The user profile password to use to authenticate to the server.
$AS400Service
String The name of the AS/400 service to connect. The valid services are:
Service Name
Description
FILE
IFS file service
PRINT
Print service
COMMAND
Command and program call service
DATAQUEUE
Data queue service
DATABASE
JDBC service
RECORDACCESS
Record level access service
CENTRAL
License management service
SIGNON
Sign-on service
Output Parameters
$AS400
com.ibm.as400.access.AS400 A connected AS/400 object.
Example
wm.as400.sample.connection:testNoPool