Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Work with Watches (WRKWCH) command can be used to show a panel with the list of active watches around the system. An active watch can be a watch started issuing Trace Internal (TRCINT), Start Trace (STRTRC), Trace Connection (TRCCNN), Trace TCP/IP Application (TRCTCPAPP), and Start Communications Trace (STRCMNTRC) commands specifying watches parameters, or a session started using Start Watch (STRWCH) command, or using Start Watch (QSCSWCH) API.
When you run this command, the Work with Watches panel is shown. From this display you can end an active watch or start a new one. Also the watches being ended are shown.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
WCH | Watch | Single values: *ALL Other values (up to 3 repetitions): *SRVMON, *STRWCH, *TRCCMD |
Required, Positional 1 |
Top |
Specifies the watches to be shown on the Work with Watches panel.
This is a required parameter.
Single values
Other values
Top |
WRKWCH WCH(*TRCCMD)
This command displays the Work with Watches panel, showing all watch sessions started via watches parameters specified in Trace Internal (TRCINT), Trace Connection (TRCCNN), Start Communications Trace (STRCMNTRC), Trace TCP/IP Application (TRCTCPAPP) and Start Trace (STRTRC) commands.
Top |
*ESCAPE Messages
Top |