Displaying TRS configuration properties

To display the current property settings in the TRS configuration file:

exec sgw_status parameters

NoteSee Chapter 3, “Configuring a TRS,” for complete information about setting up the TRS configuration file.

Table 8-5 describes the results:

Table 8-5: Description of sgw_status parameters results

Field

Description

Version

The version/release level of the current TRS and the platform and operating system on which it is running.

Server name

The name of the DirectConnect server.

Protocol type

The network protocol used by this TRS, either LU 6.2 or TCP/IP.

National language

The default language for TRS. (This is also set at the mainframe in SYGWMCST, which is the global customization module.)

Char set

The default character set for TRS. (This is also set at the mainframe in SYGWMCST, which is the global customization module.)

Direct RPCs disabled

Indicates whether TRS will accept an RPC directly from a client or whether all RPCs must be indirect, that is, routed through Adaptive Server. Valid values are:

  • Yes – indirect routing is required.

  • No – indirect routing is not required; direct routing is permitted.

Max users

The maximum number of users allowed to use TRS at one time.

Max site handlers

The maximum number of site handlers allowed. A site handler controls the network connection to a remote server.

Truncate longvarchar

The truncation flag for DirectConnect for DB2 UDB. (This is also set at the mainframe in SYGWMCST, which is the global customization module.) This indicates whether the data in fields of the datatype long varchar are to be truncated to 255 bytes and passed to the client. If the truncation flag is not used, varchar data is sent as text and image datatypes for 4.x TDS clients, or as long varchar datatype for 5.0 TDS clients. Valid values are:

  • Yes – the data is truncated.

  • No – other datatypes are returned.

Security enforced

This indicates whether TRS security is enabled or overridden. Valid values are:

  • Yes – security is enforced at TRS.

  • No – security is not enforced at TRS, except for the “sa” account. (The RPC security definition is sent to the mainframe, if specified in the RPC definition.)

Interfaces file

The complete path and file name of the interfaces file for this TRS.

RPC file

The complete path and file name of the file that contains RPC information for this TRS.

Security grp file

The complete path and file name of the file that contains security information for this TRS.

Accounting

Indicates if accounting is activated for this TRS. Valid values:

  • Yes – accounting is on.

  • No – accounting is off.

Connection file (LU 6.2 only)

The complete path name of the file that contains connection information for this TRS.

Con wait q (secs) (LU 6.2 only)

The number of seconds that the connection request waits in the queue for an available LU 6.2 connection.

Region file (TCP/IP only)

The complete path and file name of the file that contains region information for this TRS.