Change Directory Entry Attributes (QHFCHGAT) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Change Directory Entry Attributes (QHFCHGAT) API changes the attributes of a specified directory entry for an existing file or directory. As long as no other job has opened the directory in which the file or directory is located with a deny write lock, your application can add, change, or delete directory entry attributes.


Authorities and Locks

None.


Required Parameter Group

Path name
INPUT; CHAR(*)

The path name of the directory or file whose attributes you want to change. The directory or file must exist, and the path name must have more than one element. You cannot change the directory entry attributes of a file system.

Path name length
INPUT; BINARY(4)

The length of the path name, in bytes.

Attribute information table
INPUT; CHAR(*)

The table specifying the directory entry attributes to change. The file system determines which standard and extended attributes you can specify. For descriptions of the standard attributes, see HFS Directory Entry Attributes. For the format of the table, see HFS Attribute Information Table.

Length of the attribute information table
INPUT; BINARY(4)

The length of the attribute information table.

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 ]