For TRS to recognize the specified region parameter of the sgw_addrpc procedure, you must define the region using the following sgw_addregion procedure:
exec sgw_addregion region, hostname, portnumber, regiontype
where:
region is a TRS administrator-defined alias for the hostname and portnumber pair, described next. For RPCs to use this region, this value must match the value in their region parameter of the sgw_addrpc procedure. (See “Adding an RPC”.)
Length: maximum of eight characters.
hostname is the value you specify for this parameter that identifies the TCP/IP network host name. This name corresponds to the mainframe in your /etc/hosts file or in your NIS map.
Length: maximum of 31 characters.
portnumber is the number you specify for this parameter that must match the port number on which the transaction listens. (This is not the same as the port number used to configure the interfaces file.) TRS does not verify the validity of this number with the CICS TCP/IP Listener.
This value can be any number between 1024 and 9996.
regiontype (optional) is the type of the mainframe processing environment specified by the region parameter. Valid values are CICS, MVS, and IMS. If you do not specify a value, the region type defaults to CICS.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |