Observe the following conventions when you use TRS administration procedures:
Run each exec command individually; do not batch them.
Enter go after each command, or execute the command according to the conventions of your SQL utility. (Generally, go is not shown in the syntax illustrations in this guide; it is shown in the examples.)
Enclose command parameters that contain numerical values in quotation marks.
Enter all command parameters in the order shown. Separate the parameters with commas. (Spaces are optional.)
If you omit any parameters, include the commas as placeholders or use the keyword NULL (not case sensitive). For example, to assign the TRS user “WAYNE” a password of “BLEUCHEZ”:
exec sgw_chpwd WAYNE, , BLEUCHEZ
go
or
exec sgw_chpwd WAYNE, NULL, BLEUCHEZ
go
The first parameter after sgw_chpwd is the login, in this case, “WAYNE.” The second comma (or null) holds the place of the TRS password, which you are not changing. The parameter called “BLEUCHEZ” represents the new password that is passed to the mainframe.
When entering TRS administration procedures, you need to enter only as many characters as required to make each parameter distinct from any other (you must enter at least three characters). For example, use one of the following to query the status of the clients on TRS:
execute sgw_status clients
or
exec sgw_status cli