WHAT Command

The WHAT command displays a system status report.

Format

WHAT [L] [S] [W] [Z]

Parameter(s)

L

Suppresses the lock status report.

S

Suppresses the Spooler report.

W

Suppresses information about current processes.

Z

Displays information for all processes, whether active or not.

Description

The report gives information about system configuration, current status of locks and tables, the location and status of processes currently logged on, and information about the Spooler.

The WHAT command displays a report that looks like this:

13:19:20 DD MMM YYYY

MAXUSERS [254]

 

CURRENT # USERS [21]

CORE

LINES

PROCESSES

PCB0

WSSTART

WSSIZE

SYSBASE/MODULO

MAXFID

OVRFLW

2304K

16

17

1024

1088

40

1328              27

30195

27779

 

 

 

 

 

 

 

 

 

GROUP AND EXECUTION LOCKS    (LOCK-PROCESS)

 

 

 

 

 

 

 

 

 

*0000  000400  FF20   121.000  121.29D  166.CAO

0001  000420  BF20   170.09A  170.206

 

 

 

 

 

 

 

 

 

THE SPOOLER IS INACTIVE.

 

 

 

 

 

 

 

 

 

PRINTER # 0 IS PARALLEL, ON LINE AND INACTIVE.

THE PRINTER IS DEFINED AS A SERIAL PRINTER # 0.

ASSIGNED OUTPUT QUEUES: 0.

THE NUMBER OF INTER-JOB PAGES TO EJECT IS 0.

 

 

 

 

 

 

 

 

 

PRINTER # 1 IS SERIAL AND INACTIVE.

THE PRINTER IS RUNNING ON PROCESS 8.

ASSIGNED OUTPUT QUEUES: 3.

THE NUMBER OF INTER-JOB PAGES TO EJECT IS 1.

 

 

 

 

 

 

 

 

 

>

 

 

 

 

 

 

 

 

The first line of the report gives the maximum number of users allowed to log on at any one time, as set by the MAXUSERS command, followed by the number of users currently logged on. If update logging is active, an asterisk (*) displays after CURRENT # USERS.

The second line of the report displays this information:

CORE

Amount of memory on the system.

LINES

Number of processes defined for the system in the CCB.

PROCESSES

Number of processes defined for the system in the CCB.

PCB0

Process Control Block (PCB) frame ID for process 0 (the system console). You can determine the PCB frame ID for each of the following processes by multiplying the process number by 32 and adding the result to PCB 0.

WSSTART

Frame ID of the first frame of the workspace extension area.

WSSIZE

Size of each block of workspace extension. For each process there can be up to three blocks of extended workspace, of 40 frames each.

SYSBASE/MODULO

Base frame ID and modulo of the SYSTEM Dictionary.

MAXFID

Maximum frame ID number. This indicates the last frame ID available for data storage on the system.

OVRFLW

Available disk space. This includes both linked frames and contiguous frames.

The third section of the report shows any group locks. In the example, there are no locks listed. Group locks are listed in this format:

23460 (5BA4)-002

where the first number (23460) is the decimal frame ID of the group; the second number, in parentheses (5BA4), is the hexadecimal frame ID; -  is the lock type (- = Read for Modification, R = Read, U = Update); the third number is the process ID.

The fourth section of the report shows the location of each process that is currently running. Each line 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.

The last section of the report gives the current status of the Spooler.