Add a connection configuration to TRS for each LU 6.2 pair defined to your SNA support. To define a new connection configuration to TRS:
exec sgw_addcon con_name, region, mode, "max_sessions"
where
con_name is the name assigned to this local connection. It is also the name by which the Local LU is known to your local SNA support. Because there is a secondary name that qualifies this connection, this parameter corresponds to different values for different platforms. See the Mainframe Connect DirectConnect for z/OS Option Installation Guide for specific information about connection name parameter values.
Length: maximum of eight characters.
region specifies the remote LU name of the target mainframe region in this parameter. This is the Virtual Telecommunications Access Method (VTAM) APPLID name to which your Local LU is bound. An entry in this field is required.
All RPCs that use this connection configuration to access the mainframe must have this same value specified as the region in their RPC definitions. (See also “Adding an RPC”.)
Length: maximum of eight characters.
For different platforms, this parameter corresponds to different values. See the Mainframe Connect DirectConnect for z/OS Option Installation Guide for specific information about the mode name parameter value.
mode is a value that must match the name of the mode defined to the mainframe and to the local SNA support for this LU pair.
Length: maximum of 8 characters.
“max_sessions” is the maximum number of sessions that this TRS can have simultaneously allocated from the LU pair. Enter one of the following:
For parallel sessions, enter a value between 2 and 255.
For a single session, this value can only be 1.
Be sure to enclose numeric parameter values in quotation marks.
Check with your SNA System Administrator to make sure this number is not larger than the maximum number of sessions (for this mode) defined to the SNA subsystem.
If you do not provide a value for “max_sessions,” TRS
creates a default value = 1 for the
connection, which will not support parallel sessions.
This example adds an LU 6.2 connection configuration named “SYBLU01,” bound to region (remote LU) “TESTREG,” with mode name “M6S1024V,” and not using parallel sessions:
exec sgw_addcon SYBLU01, TESTREG, M6S1024V, "1"
go
This example adds an LU 6.2 connection configuration named “SYBLU01,” bound to region (remote LU) “PRODEMO,” with mode name “M6P1024V” and eight parallel sessions:
exec sgw_addcon SYBLU01, PRODEMO, M6S1024V, "8"
go