CclConn constructor

CclConn(const char* serverName = 0,
            const char* userId = 0,
            const char* password = 0,
            const char* runTran = 0,
            const char* attachTran = 0)

serverName
The name of the server. If no name is supplied the default server is used. After the first call to the server you can discover this name by using the serverName method. The length is adjusted to 8 characters by padding with blanks or truncating, if necessary.
userId
The userId, if needed. The length is adjusted to 16 characters by padding with blanks or truncating, if necessary.
password
The password corresponding to the userId in userID, if needed. The length is adjusted to 16 characters by padding with blanks or truncating, if necessary.
runTran
The CICS® transaction under which the called program will run. The default is to use the default server transaction. The length is adjusted to 4 characters by padding with blanks or truncating, if necessary.
attachTran
The CICS transaction to which the called program is attached. The default is to use the default CPMI. The length is adjusted to 4 characters by padding with blanks or truncating, if necessary.

This constructor creates a CclConn object; it does not cause any interaction with the CICS server or guarantee that the server is available to process requests. The userId and password are not needed if the connection is used only for status calls, or if the server has no security.