CBL_CREATE_DIR

CBL_CREATE_DIR creates a subdirectory. All of the directories in the given path, except the last, must already exist.

Usage

CALL "CBL_CREATE_DIR" 
    USING DIR-NAME,
    GIVING STATUS

Parameters

DIR-NAME PIC X(n) Contains the name of the directory to be created. This should be either a full path name or a name relative to the current directory. You may use remote name syntax in combination with AcuServer to create a directory on a remote machine. CBL_CREATE_DIR can make a directory only one level lower than an existing directory and cannot create more than one level at a time.
STATUS Any numeric type    Returns 0 if successful, or 1 if not.

The behavior of this routine is affected by the FILENAME_SPACES configuration variable. The value of FILENAME_SPACES determines whether spaces are allowed in a file name. See the entry for FILENAME_SPACES in Appendix H for more information.