ContentsIndexPreviousNext

CBL_DELETE_DIR Routine

CBL_DELETE_DIR deletes the indicated directory. The directory is deleted only if it is empty.

Usage

CALL "CBL_DELETE_DIR"
   USING PATH-NAME,
   GIVING STATUS

Parameters

PATH-NAME PIC X(n)

Contains the relative or absolute path-name, terminated by space or NULL.

STATUS Any numeric type

Returns "0" if successful, or "1" if not.


Note: The behavior of this library routine is affected by the setting of the FILENAME-SPACES configuration variable. See the documentation in Appendix H, Configuration File Entries, for information about the terminating character for path names.