Previous Topic: SHUTDOWN Command

Next Topic: SWITCHLOG Command

SWITCHFILE Command

The SWITCHFILE command allows you to immediately switch to a new file in a file group. By doing this, you tell CA‑L‑Serv to close any file that it is currently using and to start recording data in a new file.

Syntax

SWITCHFile groupid [ddname]

Operand

Explanation

ddname

Selects a particular file in the file group.

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

groupid

Indicates what file group you want to use.

Note: SWITCHFILE commands are usually issued from consoles.

Example

To switch to file JRNL1 in file group UGRPID, issue this command:

SWITCHFILE UGRPID JRNL1