MONITOR SIZE command

From m204wiki
Jump to navigation Jump to search

Summary

Privileges
System administrator
Function
The MONITOR SIZE command returns a screen display of the current definitions for a journal or checkpoint stream along with the current usage.

Syntax

MONITOR SIZE {[JOURNAL | JRNL] | [CHECKPOINT | CHKP] | CCAJRNL | CCAJLOG | CHKPOINT | CHKPNTS}

Where:

JOURNAL or JRNL Displays the definitions and current usage for the CCAJRNL and CCAJLOG streams.
CHECKPOINT or CHKP Displays the definitions and current usage for the CHKPOINT and CHKPNTS streams.

Example

MONITOR SIZE CHKP DDNAME TYPE TRKS_ALLOC TRKS_USED PCT_USED ________ _________________ __________ _________ ________ CHKPOINT (GDG STREAM) CHK1 (DATASET) 100 40 40% CCA008\M204V710.CHKPOINT.G3371V00\+5 CHKPNTS (DATASET) 5000 3000 60% CCA013\M204V710.CHKP5

In this example:

  • CHKPOINT is defined as a GDG STREAM consisting of member CHK1, a GDG data set. The volser, GDG data set name and relative generation are displayed.
  • CHKPNTS is defined as a simple data set. Its volser and data set name are also displayed.

Note: If CPMAX=1 and a checkpoint occurs, the CHKPOINT data set, in this case CHK1, is repositioned to the beginning of the data set (the first data set if a GDG), and the TRKS_USED is reset to zero.

When a sub transaction checkpoint is taken, a switch from CHKPOINT to CHKPNTS, or vice versa, occurs. The target of the switch is repositioned to the beginning of the data set, and TRKS_USED is reset to zero but starts increasing immediately. The switched-from member has TRKS_USED set to zero.

In addition, you can restrict the output of the MONITOR SIZE command to only the specified stream, for example:

MONITOR SIZE CCAJLOG