Monitoring RPCs

To see if an RPC is defined, as well as the transaction processing region (destination subsystem) it is associated with, use this command. (To see the RPCs in use, use the sgw_status clients procedure.) This statement displays the defined RPCs in TRS:

exec sgw_status rpc

Table 8-4 shows the information displayed:

Table 8-4: Description of sgw_status rpc results

Field

Description

RPC

The name of the RPC being called.

Status

The availability of the RPC, which indicates whether the named RPC is currently available for use. Valid values are:

  • A (active – the RPC is available for use.

  • I (inactive) – the RPC is unavailable for use.

Host_Tran

The name of the mainframe transaction to be invoked.

Security_Fields

The mainframe access permission requirements. This field specifies the administration procedure parameter values that TRS passes to the mainframe. Valid values are:

  • U (login ID) – the login ID is passed to the mainframe.

  • B (both) – both the ID and password are passed to the mainframe.

  • N (none) – login information is not passed to the mainframe.

Destsys

The name of the transaction processing region with which this RPC is associated as defined in the sgw_addrpc procedure.