Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with APPN Status (WRKAPPNSTS) command allows you to display and work with information about the status of APPN and HPR network sessions, and RTP connections on your local system. The controller (CTL) parameter and either the RMTLOCNAME parameter or the RMTCPNAME parameter (if specified), are used to select the information to display. Note that RMTLOCNAME and RMTCPNAME cannot both be specified.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OPTION | Option | *SELECT, *LOC, *RTP | Optional, Positional 1 |
CTL | Attached controller | Generic name, name, *ALL | Optional |
RMTNETID | Remote network identifier | Communications name, *ALL, *NETATR | Optional |
RMTLOCNAME | Remote location | Generic name, name, *ALL | Optional |
RMTCPNAME | Remote control point | Generic name, name, *ALL | Optional |
MODE | Mode | Generic name, name, *ALL, *NETATR | Optional |
TCID | Transport connection ID | Character value, *ALL | Optional |
Top |
Specifies the type of information that you can work with.
The possible values are:
Top |
Specifies the controller name for which status is shown. Only sessions using the specified controller are listed on the Work with APPN Status display.
The possible values are:
Top |
Specifies the name of the remote network in which the remote control point or remote location reside.
The possible values are:
Top |
Specifies the remote location name of active APPN sessions for which status is shown. Only sessions with the specified remote location name are listed on the Work with APPN Status display.
The possible values are:
Top |
Specifies the remote control point name of active APPN sessions for which status is shown. Only sessions with the specified remote control point name are listed on the Work with APPN Status display.
For the OPTION(*RTP) view, RMTCPNAME is used to specify the control point name for the RTP connection partner. For the OPTION(*LOC) view, RMTCPNAME is used to specify the control point name for the attached controller.
The possible values are:
Top |
Specifies the name of the mode by which to subset all list entries.
The possible values are:
Top |
Specifies the transport connection identifier (TCID) of an RTP connection. Only sessions running over an RTP connection with the specified TCID are listed on the Work with Sessions for RTP Connections panel. This parameter is valid only when OPTION(*RTP) is specified.
The possible values are:
Top |
Example 1: Working with RTP Connections
WRKAPPNSTS OPTION(*RTP) TCID(*ALL)
This command enables the user to display all active RTP connections.
Example 2: Working with APPN Locations
WRKAPPNSTS OPTION(*LOC) RMTNETID(ROCV) RMTCPNAME(ROCAS*)
For the specified remote control point name, this command allows the user to display all APPN location pairs that have active APPN sessions.
Top |
None
Top |