Read this topic collection to learn how to program with the hierarchical
file system (HFS).
If you need to read to or write from a LAN-attached optical, you will need
to use the hierarchical files system (HFS), which is part of i5/OS™.
The HFS API support for optical support consists of two parts:
- An application programming call interface to the hierarchical file system
to manipulate objects known as files and directories.
- An optical or other registered file system that manages the storage devices
where the files and directories are stored.
HFS API optical functions include the following:
- Creating or deleting a directory
- Opening, reading, or closing a directory
- Opening, reading, writing, or closing a file
- Locking or unlocking bytes in a file
- Getting or setting the size of a file
- Renaming, copying, deleting, or removing a file
- Retrieving or changing directory entry attributes
The following information can help you to program applications that use
the HFS with optical devices.