W (Waiting Mix Entries)

The W (Waiting Mix Entries) command displays any tasks that need operator or user action because they are suspended on an RSVP condition. The text of the Wait message is included in the display.

Syntax

<wild card>

<delim>

Use one of the following characters

/  \  I  ~  !  @  #  $  %  ^  &  *  ' 

The first delimiter must be the same as the second delimiter.

<wild-card string>

A string of characters used to search for a task name. The string can include the following special characters:

Character

Description

Equal sign (=)

Matches any sequence of characters

Question mark (?)

Matches any single character

Tilde (~)

Matches any sequence of characters except a slash (/)

The wild-card string is automatically uppercased, except for characters enclosed in quotation marks, and the system stops processing the string when it encounters a space character.

You can include lowercase characters and space characters by prefixing the wild-card string with LIT and enclosing the wild-card string in delimiters.

For example, if you enter the following syntax, the system returns entries that contain the string "PACK":

W NAME =pack=,

If you enter the following syntax, the system returns entries that contain the string "pack":

W NAME LIT ^=pack=^

Explanation

W

Displays all waiting jobs or tasks.

W NAME <wild-card string>

Displays all waiting jobs or tasks whose task names match the specified card string.

W MCSNAME = <MCS name>

W MCS = <MCS name>

Display only waiting jobs or tasks originating from the specified MCS.

W QUEUE

W Q

Display waiting jobs and tasks from all queues.

W QUEUE <queue number>

Displays any waiting jobs and tasks from the specified queue.

W USER <usercode>

Displays only waiting jobs and tasks running with the specified usercode.

Examples

Example 1

This example shows a display for a typical W command:

W
  --Job--Task-Pri--Elapsed------ 2 WAITING ENTRIES --------
  7200/ 7202  50     10:01     (USER1) *LIBRARY/MAINTENANCE
      LOGTAPE/FILE000  REQUIRES MT #1
   177/ 177   80   :06 Job (MARTIN)OBJECT/SYMBOL/ACCOUNTS/PAYABLE
       504  SECTORS REQUIRED ON VACATION PK 120

The heading line appears on the first page of the Waiting Entries display and before the Waiting Entries in automatic display mode (ADM).

The job number of the waiting task is displayed in the Job field. The mix number of the job or associated task is displayed in the Task field. The Pri field contains the priority of the task. The Elapsed field shows the length of time the task has been waiting. The time is expressed in hours, minutes, and seconds.

The word Job precedes each job name. The usercode of the originator appears before the job or task name. Some tasks and jobs can have two usercodes shown for the following reasons:

  • One usercode indicates the USERCODE attribute of the task or job.

  • The other usercode is part of the NAME attribute of the task or job. This usercode is one of the following:

    • The usercode that the code file is stored under (an external procedure).

    • The usercode that the parent of the task or job had when the system initiated the task or job (an internal procedure).

Compiler tasks display with the following format:

<task usercode> <compiler name> <code file name>

Tasks other than compiler tasks display with the following format:

<task usercode> <task name>

Example 2

This example shows waiting jobs and tasks from all queues:

W QUEUE
-Job--Task--Que-Pri--Elapsed-- 1 WAITING ENTRY ALL QUEUES --
2298/ 2630    22  50    40:44   (FITZ)*SYSTEM/DUMPANALYZER ON NI38
   ACCEPT: OK OR RESTART.

Example 3

This example displays only the waiting job that has no usercode associated with it:

W USER=""
--Job--Task-Pri--Elapsed----- 1 WAITING ENTRY USER= --------
177/177   80     :06 Job (MARTIN)OBJECT/SYMBOL/ACCOUNTS/PAYABLE
   504  SECTORS REQUIRED ON VACATION PK 120