<<

Contents

Search

>>

 

KILL

 

 

Instruction

 

 

Syntax:

KILL <Filename> ON ERROR ... END

 

<Filename> = <STRING-EXPRESSION>

 

Meaning:

Removes the file <Filename>. In the case of an error the block ON ERROR ... END is executed.

 

Wildcards in filenames are not allowed (e.g. "*.dat"). If several files are to be deleted, every file must be deleted separately.

 

If directories are to be deleted, the instruction KILL_DIRECTORY must be used.

 

Parameter:

Filename

Name of file to remove

 

Sample:

KILL "TESTDAT.DAT" ON ERROR … Error … END

 

See also:

KILL_CLIENT

KILL_DIRECTORY

KILL_DIRECTORY_CLIENT

RENAME

JDBC_DROP_TABLE

KILL_INDEXFILE