WH (Wait History)

The WH (Wait History) command displays the wait status and stack history for a waiting stack.

Syntax

Explanation

<mix number> WH

Returns the wait status and stack history for a specified mix number. The program name is displayed followed by the stack state and the stack procedure call history. The stack state identifies the number of events that the task is waiting on as well as the length of time the task has been waiting. The call history shows the line numbers and the associated code files for each procedure that has been entered and not exited. You can use this command to get a quick view of where a task is waiting without having to discontinue the task with program dump options.

Example

747 WH
  Status of Job 747/747 at 15:22:37
  Program name: MARC
  Stack State: Waiting on 2 events; waiting for 6391 seconds
  1015:0771:2  (02810840/13575560) in >> Current MCP <<
  1013:05BB:0  (13484060) in >> Current MCP <<
  706:04F1:4  (51510000) DCILIBRARY in *SYSTEM/COMS
  3A5:01F6:5  (98153000) CYCLE_CONTROL in *SYSTEM/MARC/COMMANDER
  142:0721:1  (99013000) COMMANDER_37 in *SYSTEM/MARC/COMMANDER
  72C:0008:3  (53547000) MARC_PROCESSOR in *SYSTEM/COMS