REMOVEFILE Statement as a Boolean Function

The REMOVEFILE statement can be used as a Boolean function, in which case it returns a value of TRUE if an error occurs. The value in field [39:20] of the result defines the failure as follows:

Value

Meaning

10

File name or directory name is in error.

30

Files have not been removed.