isutl -c

Clear an ISAM file

WSupported on Windows
USupported on Unix

 

NSupported in Synergy .NET
isutl -c [-l][-y] filename[ ...] 

-l

(optional) Clear a file while it’s in use.

-y

(optional) Answer “y” to all query prompts.

filename

The name of the ISAM file(s) you want to clear. The default extension is .ism.

Isutl -c provides the ability to clear the contents of an ISAM file and restore it to its original empty state.

Important

Use this option with extreme caution; clearing an ISAM file deletes all existing records.

When you use isutl -c, you’ll be prompted to confirm that you want to clear the file by responding “y” (yes, clear the file) or “n” (no, don’t clear the file). If filename includes a wildcard, for each file, you’ll be prompted, “You are about to clear filename. Do you wish to continue: (Yes/No/All/Quit)?”

To suppress the queries entirely by automatically responding “y”, specify the -y option when you run isutl (isutl -c -y).

Tip

We recommend using isutl -c rather than isload CLEAR to clear a file.