After you define a transaction group, you must specify the transactions that belong to it. A transaction group contains one language RPC and any number of standard RPCs.
To add an RPC to the transaction group, use this procedure:
exec sgw_addrpctogrp tran_group, rpc_name, rpcpwdlevel
where:
tran_group is the name of the transaction group to which you want to add an RPC. Length: maximum of eight characters.
rpc_name is the name of the RPC you want to add. This is the remote procedure called by the client. Length: maximum of 30 characters.
rpcpwdlevel indicates whether user identification is passed to the transaction processing region with this transaction request and, if user identification is to be passed, indicates the origin of the identification. This parameter can have one of the following values:
none – do not send login information to the transaction processing region.
user – use the user ID and password from the HOST_LOGIN and HOST_PWD values of the user login definition.
group – use the user ID and password from the GROUP_LOGIN and GROUP_PWD values of the transaction group definition.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |