Considerations for using integrated file system APIs on the QNetWare file system

In addition to the Integrated File System commands and menus, i5/OS provides APIs that enable ILE C for iSeries™ programs to perform functions on files and directories in all file systems. The Integrated File System APIs are very useful for integrating the iSeries database with NetWare Enhanced Integration data. You can find information about ILE and ILE C for iSeries in the book ILE Concepts, SC41-5606 Link to PDF.

When you use Integrated File System APIs on the QNetWare file system, you need to know that these C language functions are not supported on the QNetWare file system:

APIs Description
givedescriptor() Give file access to another job
link() Create link to file
readlink() Read value of symbolic link
symlink() Make symbolic link
takedescriptor() Take file access from another job

In addition to the previous APIs, you cannot use the following APIs against NDS objects, servers, or volumes:

APIs Description
chmod() Change file authorizations
chown() Change owner and group of file
create() Create new file or rewrite existing file
fchmod() Change file authorizations by descriptor
fchown() Change owner and group of file by descriptor
fcntl() Perform file control action
ftruncate() Truncate file
lseek() Set file read/write offset
mkdir() Make directory
read() Read from file
readv() Read from file (vector)
unmask() Set authorization mask for job
write() Write to file
writev() Write to file (vector)

You can see an example program that copies an iSeries database file to QNetWare File System.