DELETE DATASET

Short Reference

Syntax

DELETE DATASET dset.

Effect

This statement deletes the file specified in dset. dset is expected to be a character-type data object that contains the platform-specific name of the file. The file can be opened or closed.

Return Value

sy-subrc Meaning
0 File deleted.
4 File could not be deleted.

Exceptions

Catchable Exceptions

CX_SY_FILE_AUTHORITY

CX_SY_FILE_OPEN