The addcat script executes the sgw_addrpc procedure automatically for each CSP (see “Adding an RPC”). Before you run addcat, modify the script to suit your installation.
Use your text editor to specify the value of these parameters:
region parameter – name of the region you want the CSPs to execute against.
security parameter – value you can change to meet the security requirements at your installation. If you do not change it, the value is none.
rpc_name parameter – name or value must be coordinated with any change to the RPC names with the mainframe system programmer. If you are using ODBC applications, do not change the RPC names.
tran_id parameter – value or name of this parameter must be coordinated with any change to the transaction ID with the mainframe system programmer.
After you edit the script to suit your installation, run the addcat script as input to your TRS. The following isql example shows how to run the addcat script with a TRS named new_TRS:
isql -Snew_TRS -Usa -P < addcat
go
This script automatically executes the sgw_addrpc procedure for each CSP.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |