Create Directory (QHFCRTDR) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Create Directory (QHFCRTDR) API creates a new directory and its directory entry. Except for the directory being created, all directories in the path must exist.


Authorities and Locks

None.


Required Parameter Group

Path name
INPUT; CHAR(*)

The path name for the new directory. The last element of the path name specifies the directory being created. For example, specifying /QDLS/A/B creates new directory B and adds a directory entry for B to directory A in file system QDLS.

Length of path name
INPUT; BINARY(4)

The length of the path name, in bytes.

Attribute information table
INPUT; CHAR(*)

The table specifying the attributes for the new directory. The file system determines which standard and extended attributes you can specify. For detailed descriptions of the standard attributes and the format of the table, see HFS Directory Entry Attributes.

If no attributes are specified, the file system's defaults are used for required information.

Length of attribute information table
INPUT; BINARY(4)

The length of the attribute information table, in bytes. Valid values are:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V2R1

[ Back to top | Hierarchical File System APIs | APIs by category ]