CclConn constructor
CclConn(const char* serverName = 0,
const char* userId = 0,
const char* password = 0,
const char* runTran = 0,
const char* attachTran = 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 CICS® 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 user ID, if needed. The value is padded with blanks, if necessary. The maximum supported length is 10 characters.
- password
- The password corresponding to the user ID in userID, if needed. The value is padded with blanks, if necessary. The maximum supported length is 10 characters.
- 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 user ID and password are not needed if the connection is used only for status calls, or if the server has no security.