MONITOR SIZE command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
 
(One intermediate revision by one other user not shown)
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">MONITOR SIZE {[JOURNAL | JRNL] | [CHECKPOINT | CHKP] | CCAJRNL | CCAJLOG | CHKPOINT | CHKPNTS}
<p class="syntax" style="font-size:98%"><b>M</b>ONITOR SIZE {[JOURNAL | JRNL] | [CHECKPOINT | CHKP] | CCAJRNL | CCAJLOG | CHKPOINT | CHKPNTS}
</p>
</p>
   
   
<b>Where:</b>
Where:
<table>  
<table class="thJustBold">  
<tr>
<tr>
<th><var>JOURNAL</var></th>
<th>JOURNAL or JRNL</th>
<td> (or <var>JRNL</var>) specifies to display the definitions and current usage for the CCAJRNL and CCAJLOG streams.</td>
<td>Displays the definitions and current usage for the CCAJRNL and CCAJLOG streams.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th><var>CHECKPOINT</var></th>
<th nowrap>CHECKPOINT or CHKP</th>
<td> (or <var>CHKP</var>) specifies to display the definitions and current usage for the CHKPOINT and CHKPNTS streams.</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 the previous 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.</p>
<p>
<p>CHKPNTS is defined as a simple data set. Its volser and data set name are also displayed.</p>
In this example: </p>
<p class="note"><b>Note:</b> 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.</p>
<ul>
<p>When a sub transaction checkpoint is taken, a switch from CHKPOINT to CHKPNTS or vice-versa occurs and 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. </p>
<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 one specified stream, for example:</p>
 
<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]]

Latest revision as of 19:32, 28 March 2017

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