ILE C/C++ Programmer's Guide
The File Server (QFileSvr.400) file system can be accessed through the
integrated file system (IFS) interface. This is done by using either
the OS/400 file server or the integrated file system commands, user displays,
and ISO stream I/O functions and system APIs.
- Note:
- The characteristics of the QFileSvr.400 file system are determined by
the characteristics of the file system that are being accessed on the target
system.
For a first-level directory, which actually represents the root (/)
directory of the target system, the QFileSvr.400 file system preserves
the same uppercase and lowercase form in which object names are
entered. However, no distinction is made between uppercase and
lowercase when QFileSvr.400 searches for names.
For all other directories, case-sensitivity is dependent on the specific
file system being accessed. QFileSvr.400 preserves the same
uppercase and lowercase form in which object names are entered when file
requests are sent to the OS/400 file server.
- Path names have the following form:
/QFileSvr.400/RemoteLocationName/Directory/Directory . . . /Object
The first-level directory (that is, RemoteLocationName in the example shown
above) represents both of the following:
- The name of the target system that will be used to establish a
communications connection. The target system name can be either of the
following:
- A TCP/IP host name (for example,
beowulf.newyork.corp.com )
- An SNA LU 6.2 name (for example, appn.newyork
).
- The root (/) directory of the target system
Therefore, when a first-level directory is created using an integrated file
system interface, any specified attributes are ignored.
- Note:
- First-level directories are not persistent across initial program loads
(IPLs). That is, the first-level directories must be created again
after each IPL.
- Each component of the path name can be up to 255 characters long.
The absolute path name can be up to 16 megabytes long.
- Note:
- The file system in which the object resides may restrict the component length
and path name length to less than the maximum allowed by
QFileSvr.400.
- There is no limit to the depth of the directory hierarchy, other than
program and system limits, and any limits that are imposed by the file system
being accessed.
- The characters in names are converted to UCS2 Level 1 form when the names
are stored.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.