SetTermDefns

SetTermDefns (servName as String,
          devType as String,
          nworkName as String
          signonCapability as CclSignonTypes
          userid as String
          password as String
          ReadTimeout as Integer
          CCSid as Long)

servName
The name of the server with which you want to communicate. If a NULL string is provided, the default server system, defined in the Gateway initialization file, is assumed. The name is expanded to 8 characters by padding with blanks, if necessary.
devType
The name of the model terminal definition which the server uses to generate a terminal resource definition. If a NULL string is provided the default model is used. The name is expanded to 16 characters by padding with blanks, if necessary.
nworkName
The name of the terminal resource to be installed or reserved. The name is expanded to 8 characters by padding with blanks, if necessary. If a NULL string is supplied, the CICS® server will allocate a name.
signonCapability
Set the sign-on capability to one of the following:
cclSignonCapable
cclSignonIncapable
ReadTimeout
A value in the range 0 through 3600, specifying the maximum time in seconds between the time the classes go clientrepl state and the time that the application program invokes the reply method.
userid
The name of the userid to associate with this terminal resource.
password
The password to associate with the userid.
CCSid
A long specifying the coded character set identifier (CCSID) that identifies the coded graphic character set used by the client application for data passed between the terminal resource and CICS transactions. A zero indicates that a default will be used.

Creates a terminal resource but does not make the connection to the Server.