Adding a login

To add a login definition to TRS:

exec sgw_addlog login, pwd, HOST_LOGIN,
  HOST_PWD, tran_group, con_group, gwctrl

where:

Example

To add the user named “BERTHA” to an LU 6.2 TRS:

exec sgw_addlog bertha, BIGBLUE, BIG, BLEUBRT, TGROUP1, FINANCE, yes 

go

This isql example adds a TRS user named “BERTHA” with a password of “BIGBLUE,” and a host login and password of “BIG” and “BLEUBRT,” respectively. “BERTHA” can use RPCs defined to the transaction group named “TGROUP1” and connections included in the connection group named “FINANCE.” “BERTHA” has permission to administer TRS.