This section assumes that you are not enforcing security
at TRS.
The following are brief, step-by-step instructions for configuring TRS. These steps help you run the sample programs described in Appendix B, “Testing a TRS Installation with Sample Programs” after you first install TRS.
Set the TRS Security property to no.
See “Security”.
Start TRS
DirectConnect for z/OS Option brings up TRS at start-up as long as the TRS exists in one of the following directories:
For Windows: C:\<install_dir>\DC-15_0\servers\svclib\srvname
For UNIX: /<install_dir>/DC-15_0/servers/srvname/svclib/
Start an isql session, connecting to TRS
Do one of the following:
LU 6.2 only: Use sgw_addcon to define the connections your TRS uses.
See “Adding a connection configuration”.
exec sgw_addcon con_name, region, mode, "max_sessions"
TCP/IP only: Use sgw_addregion to specify the regions your TRS uses.
See “Defining regions to TRS”.
exec sgw_addregion region, hostname, "port_number", regiontype
Use the sgw_addrpc procedure to add remote procedure calls (RPCs).
exec sgw_addrpc rpc_name, tran_id, region, security
The TRS client is now able to log in to TRS with a valid host user ID and password and execute the added RPCs.
Be sure to set up the default SQL language transaction
as AMD2, SYRT, or SYIH.
For more information, see “Defining a default SQL language handler”.