A SERVICE OF

logo

Chapter 6. Tips and techniques 139
QIBM: This directory does not have any special property, but most IBM supplied files are
within this directory. Two important subdirectories are ProdData and UserData. Within
each of these, there is usually a directory for each IBM product that uses stream files.
For example, both contain a directory called WebASAdv. ProdData normally contains files
that would not change in normal usage. UserData contains files that may change during
normal usage. If the product is deleted, then the directory within ProdData is deleted, but
the one within UserData is not deleted. If you want to completely remove the product, then
you need to manually delete. Be sure to first back it up.
QNTC: This directory enables the iSeries to be a client of Windows NT file shares. It may
contain subdirectories named after Windows NT servers. Within these directories, you
may see directories named after shares offered by that system. And within these
directories, you may see files from the Windows NT system. This feature is not used by
System21 applications.
QSYS.LIB: All traditional AS/400 objects are within this directory. If you explore this
directory, you will find all your familiar libraries, files, programs, etc. but with new style
names. In general, it is better to use the traditional commands to deal with objects in this
area of the file system.
There are additional special Q directories with special properties. With each release, IBM
may add more of these directories.
Files directly in the root or in normal directories should be quite UNIX or Windows NT like.
6.1.1 Using File Transfer Protocol (FTP) with the iSeries IFS
If you configured FTP on your iSeries, then you may want to use it to transfer files to and from
other systems. FTP on the iSeries is similar to FTP on most systems, except for the naming
systems of the iSeries. That is FTP was introduced to the iSeries before the IFS, so it has two
naming modes. One mode attempts to match UNIX-type names to the original file system,
and the other mode uses the IFS names.
The iSeries defaults to the older non-IFS mode. In the older non-IFS mode, only a few object
types, such as physical files, may be accessed. A source physical file is accessed with a
name of this form:
library/file.member
For a typical data physical file with one member, the member may be omitted. It is unlikely
that you need to use this form of naming when you deal with the .connect applications.
It is more likely that you will want to access stream files outside the traditional file system
using the IFS names. To switch to the new naming mode, use the following command:
quote site namefmt 1
Some FTP clients may need a slightly different command.
Alternatively if you use cd to change directory to an IFS type name beginning with /, then the
mode is switched. For example, you can use the following command to switch to IFS names
and the root directory:
cd /
If you ever need to send a save file to or from an iSeries, you must switch the transfer mode to
binary first. Otherwise, the file will be corrupted. Use the following command:
bin