MONITOR SIZE command: Difference between revisions
m (Automatically generated page update) |
m (misc formatting) |
||
Line 4: | Line 4: | ||
<dd>System administrator | <dd>System administrator | ||
<dt>Function | <dt>Function | ||
<dd>The MONITOR SIZE command returns a screen display of the current definitions for a journal or checkpoint stream along with the current usage. | <dd>The <var>MONITOR SIZE</var> command returns a screen display of the current definitions for a journal or checkpoint stream along with the current usage. | ||
</dl> | </dl> | ||
==Syntax== | ==Syntax== | ||
<p class="syntax"> | <p class="syntax"><b>M</b>ONITOR SIZE {[JOURNAL | JRNL] | [CHECKPOINT | CHKP] | CCAJRNL | CCAJLOG | CHKPOINT | CHKPNTS} | ||
</p> | </p> | ||
Where: | |||
<table> | <table class="thJustBold"> | ||
<tr> | <tr> | ||
<th | <th>JOURNAL or JRNL</th> | ||
<td> | <td>Displays the definitions and current usage for the CCAJRNL and CCAJLOG streams.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th | <th nowrap>CHECKPOINT or CHKP</th> | ||
<td> | <td>Displays the definitions and current usage for the CHKPOINT and CHKPNTS streams.</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
==Example== | ==Example== | ||
<p class="code">MONITOR SIZE CHKP | <p class="code">MONITOR SIZE CHKP | ||
Line 33: | Line 34: | ||
CCA013\M204V710.CHKP5 | CCA013\M204V710.CHKP5 | ||
</p> | </p> | ||
<p>In | <p> | ||
< | In this example: </p> | ||
<p class="note"><b>Note:</b> | <ul> | ||
<p>When a sub transaction checkpoint is taken, a switch from CHKPOINT to CHKPNTS or vice | <li>CHKPOINT is defined as a GDG STREAM consisting of member <code>CHK1</code>, a GDG data set. The volser, GDG data set name and relative generation are displayed.</li> | ||
<p>In addition, you can restrict the output of the MONITOR SIZE command to only the | |||
<li>CHKPNTS is defined as a simple data set. Its volser and data set name are also displayed.</li> | |||
</ul> | |||
<p class="note"><b>Note:</b> If <code>CPMAX=1</code> and a checkpoint occurs, the CHKPOINT data set, in this case <code>CHK1</code>, is repositioned to the beginning of the data set (the first data set if a GDG), and the <code>TRKS_USED</code> is reset to zero.</p> | |||
<p> | |||
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 <code>TRKS_USED</code> is reset to zero but starts increasing immediately. The switched-from member has <code>TRKS_USED</code> set to zero. </p> | |||
<p> | |||
In addition, you can restrict the output of the <var>MONITOR SIZE</var> command to only the specified stream, for example:</p> | |||
<p class="code">MONITOR SIZE CCAJLOG | <p class="code">MONITOR SIZE CCAJLOG | ||
</p> | </p> | ||
[[Category: System administrator commands]] | [[Category: System administrator commands]] | ||
[[Category:Commands]] | [[Category:Commands]] |
Revision as of 15:29, 23 August 2016
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