Follow these instructions to define the test connection.
Log in to TRS as “sa” using isql or your preferred dynamic SQL utility. For example, enter:
isql -Sservice_name -Usa -P
where service_name is the unique name of this TRS.
At the prompt, enter a command similar to the following, replacing the parameter values shown here with values that are appropriate for your installation.
exec sgw_addcon con_name, region, mode, "max_sessions"
where
con_name is the name assigned to this connection. This is the name by which the connection is known to your SNA support. For different platforms, this parameter corresponds to different values. See the Mainframe Connect DirectConnect for z/OS Option Installation Guide for specific information about connection name parameter values.
region specifies the remote LU name of the mainframe transaction processing region in this parameter. This is the Virtual Telecommunications Access Method (VTAM) APPLID name to which this connection is bound. An entry in this field is required.
All RPCs that use this connection to access the mainframe must have this same value specified as the region in their RPC definitions. (See also “Adding an RPC”.)
mode needs to match this value to the name of the mode defined to the mainframe and to the local SNA support for this connection (up to 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.
”max_sessions” is the maximum number of sessions that can run concurrently over this connection. If you use parallel sessions, enter a value between 2 and 254. If you do not use parallel sessions, this value can only be 1. 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.
In the following isql example, SYBLU01 is the connection name, CICSQA is the region name, SYBMODE is the mode name, and “1” is the number of maximum sessions.
exec sgw_addcon SYBLU01, CICSQA, SYBMODE, “1”
go
Copyright © 2005. Sybase Inc. All rights reserved. |