MONITOR ENQ command

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Summary

Privileges
System administrator
Function
Monitors the record locking table of an Online system

Syntax

MONITOR ENQ

Usage notes

The table below shows the Model 204 messages and display output of a MONITOR ENQ command at the terminal and in CCAAUDIT.

MONITOR ENQ output

Message

Display information

Meaning

M204.1929:

NUMBER OF USERS=nnn

The number of active users.

M204.1929:

NUMBER OF COMPACTIONS=nnn

The number of compactions of the record locking table.

M204.1930:

CURRENT # BYTES=nnn

The current number of bytes used in the record locking table.

M204.1930:

HWM # BYTES=nnn

The current high water mark for the number of bytes used in the record locking table.

M204.1931:

CURRENT # HEADERS=nnn

The current number of headers used in the record locking table.

M204.1931:

HWM HEADERS=nnn

The current high-water mark for the number of headers used in the record locking table.

M204.1932:

REQUIRED LRETBL=
HWM # BYTES / NUSERS

Use as a rule of thumb: The required LRETBL setting for the current system load is equal to the high water mark for the number of bytes, divided by the number of active users. You might require more bytes-for example, if a user runs a table that requires large amounts of record enqueuing space.

Example

MONITOR ENQ AD /// M204.1929: NUMBER OF USERS = 3, NUMBER OF COMPACTIONS = 0 AD /// M204.1930: CURRENT # BYTES = 108, HWM # BYTES = 152 AD /// M204.1931: CURRENT # HEADERS = 3, HWM HEADERS = 3 AD /// M204.1932: REQUIRED LRETBL = 8