SWITCH STREAM command

From m204wiki
Revision as of 01:05, 28 February 2013 by Alex (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Privileges
System manager
Function
You can switch streams-parallel, ring, concatenated, GDG-to the next member at any time.

Syntax

SWITCH STREAM streamname

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.