SWITCH STREAM command: Difference between revisions
Jump to navigation
Jump to search
(Blanked the page) |
No edit summary |
||
Line 1: | Line 1: | ||
==Summary== | |||
<dl> | |||
<dt>Privileges | |||
<dd>System manager | |||
<dt>Function | |||
<dd>You can switch streams-parallel, ring, concatenated, GDG-to the next member at any time. | |||
</dl> | |||
==Syntax== | |||
<p class="syntax">SWITCH STREAM streamname [ RESET ] | |||
</p> | |||
<b>Where:</b> | |||
streamname specifies CCAJRNL, CCAJLOG, CHKPOINT, or CHKPNTS. The command is valid for only these streams. | |||
==Usage notes== | |||
If you specify: | |||
<ul> | |||
<li> | |||
<p>Journal stream CCAJRNL or CCAJLOG, the currently active data set is closed and the next data set defined to the stream is opened. </p> | |||
</li> | |||
<li> | |||
<p>Checkpoint stream CHKPOINT or CHKPNTS, the currently active data set in the stream is closed after the next record is written to the data set.</p> | |||
</li> | |||
</ul> | |||
<p>If a SWITCH STREAM CCAJRNL command is issued during CHECKPOINT EXTENDED QUIESCE command processing, the journal will be switched, a new checkpoint issued, and the duration extended quiesce time-out set in CPQZSECS will be reset to its maximum, original value-disregarding the already elapsed time.</p> | |||
<table> | |||
<tr><th><var>RESET</var></th> | |||
<td>This optional parameter will cause any disabled parallel GDG members to be reopened during the switch. </td> | |||
<td>Valid only for a CCAJLOG stream specified as a Parallel GDG.</td></tr> | |||
[[Category: System manager commands]] | |||
[[Category:Commands]] |
Revision as of 20:35, 28 April 2015
Summary
- Privileges
- System manager
- Function
- You can switch streams-parallel, ring, concatenated, GDG-to the next member at any time.
Syntax
SWITCH STREAM streamname [ RESET ]
Where: streamname specifies CCAJRNL, CCAJLOG, CHKPOINT, or CHKPNTS. The command is valid for only these streams.
Usage notes
If you specify:
-
Journal stream CCAJRNL or CCAJLOG, the currently active data set is closed and the next data set defined to the stream is opened.
-
Checkpoint stream CHKPOINT or CHKPNTS, the currently active data set in the stream is closed after the next record is written to the data set.
If a SWITCH STREAM CCAJRNL command is issued during CHECKPOINT EXTENDED QUIESCE command processing, the journal will be switched, a new checkpoint issued, and the duration extended quiesce time-out set in CPQZSECS will be reset to its maximum, original value-disregarding the already elapsed time.
RESET | This optional parameter will cause any disabled parallel GDG members to be reopened during the switch. | Valid only for a CCAJLOG stream specified as a Parallel GDG. |
---|