Syntax
── ? ─┬───────┬─ W ────────────────────────────────────────────────────% ├─<LSN>─┤ └─ * ───┘
Explanation
The ?W command lists any waiting jobs and tasks in the mix.
The syntax and results of this command are controlled to some extent by the CANDE ALLMSG option. The state of the ALLMSG option is controlled by the system operator.
If ALLMSG is RESET, a syntax error is issued if an LSN or an asterisk (*) is specified. The only information returned pertains only to those jobs or tasks originating from the LSN associated with the requester's usercode.
If ALLMSG is SET, information about any LSN may be requested. The * syntax is a shorthand method for specifying the LSN to which the user is signed on. If no LSN is supplied, all information pertaining to jobs or tasks for the user making the request, regardless of origination point, is returned.
Example
?W ---Job-Task-Pri---Elapsed------- 1 WAITING ENTRY USER=SMITH ------ * 1448\1537 50 :08 (SMITH) (SMITH)OBJECT/UTIL ON PACK1 PROGRAMMATICALLY SUSPENDED