WHERE Command

The WHERE command displays the location and status of all currently active processes.

Format

WHERE [n [–m]] [P] [Z]

Parameter(s)

n

Number of the process.

n-m

Range of processes.

P

Sends the report to the printer.

Z

Displays information for all processes, whether active or not.

Description

The WHERE command displays the processes section of the full system report given by the WHAT command. WHERE displays a status report that looks like this:

This report shows the status of each process that is currently active. Each line of the report shows this information:

Process ID

An asterisk (*) indicates your own process.

Frame ID

Process Control Block frame ID of the process (hexadecimal).

Process Status

This number is for maintenance use only.

T

If a backup medium is attached to a process, a T displays in the fourth column.

Location

First address gives the frame ID (decimal) and a dot, followed by the location (hexadecimal). Subsequent addresses are the subroutine return stack addresses.