?Z

Syntax

── ? ─┬──────────────┬─ z ─────────────────────────────────────────────┤
      └─<mix number>─┘

Explanation

The ?Z command displays the wait status and stack history for a waiting stack.

Specifying a mix number returns the wait status and stack history for the corresponding mix entry. 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

RUN $SYSTEM/DUMPALL("INTER")
#RUNNING 7017
#?
CS4190:7426 DUMPALL VERSION 54.170.0009 
  Monday, November 29, 2010 15:13:2
PLEASE ENTER DUMPALL COMMAND
?Z
Status of Task 52072\7017 at 15:13:03
Program name: *SYSTEM/DUMPALL
Stack State: Waiting on 1 event; waiting for 1 second
101D: 0280:3  (14088708/14325150/14326410) in >> Current MCP <<
1062: 036E:4  (42817410/55531200) in >> Current MCP <<         
103F: 0130:3  (54275408) in >> Current MCP <<                  
1062: 0095:3  (54856600) in >> Current MCP <<                  
102E: 0025:0  (54230400) in >> Current MCP <<                  
  6A: 0005:1  (06111400) READTERM in *SYSTEM/DUMPALL           
  6B: 0030:3  (06159000) INTERACT in *SYSTEM/DUMPALL           
  37: 002A:1  (02576000) PARSE in *SYSTEM/DUMPALL              
   3: 0074:1  (90000375) DUMPALL in *SYSTEM/DUMPALL