Previous Topic: SHUTDOWN CommandNext Topic: SWITCHLOG Command


SWITCHFILE Command

The SWITCHFILE command lets you switch immediately to a new file in a file group. Doing so tells CA‑L‑Serv to close any file that it is using and to start recording data in a new file.

Syntax

SWITCHFile groupid [ddname]

Parameters

groupid

Indicates what file group you want to use.

ddname

Selects a particular file in the file group.

Default: CA‑L‑Serv selects the next available file.

Note: The SWITCHFILE commands are typically issued from consoles.

Example

To switch to file JRNL1 in file group UGRPID:

SWITCHFILE UGRPID JRNL1