CclTerminal (1)

CclTerminal(const char* server = NULL,
                 const char* devtype = NULL,
                 const char* netname = NULL)

server
The name of the server with which you want to communicate. If no name is provided the default server system is assumed. The length is adjusted to 8 characters by padding with blanks.
devtype
The name of the model terminal definition that the server uses to generate a terminal resource definition. If no string is provided the default model is used. The length is adjusted to 16 characters by padding with blanks.
netname
The name of the terminal resource to be installed or reserved. The default is to use the contents of devtype. The length is adjusted to 8 characters by padding with blanks.

Creates the CclTerminal object that is used for EPI communication between the client and server.

This constructor does an implicit install terminal. You do not need to invoke the install method if you construct a terminal object this way.

If the named server is not configured in the CICS® Transaction Gateway initialization file, an unknownServer exception is raised.

If invalid values are supplied for server, devtype or netname, a parameter exception is raised.

If a CclEPI object has not been created, an initEPI exception is raised.

If the maximum number of supported terminal connections has been exceeded, a maxRequests exception is raised.