Technical Information

Application Development Manual | Deleting files

Deleting files


Delete a file.


Detailed Description

The KILL statement deletes the specified data file. It discards not only the data in the data file, but also the field structure and other file information.
This statement also deletes the specified program file.

Deleting a file releases the corresponding memory for use by other data files and the user application program.

The BHT cannot delete a data file that is currently open or a user application program that is currently running.


Delete data file TESTDATA.DAT


Delete user application program TEST.PD4

  kill "TEST.PD4"

Contact us