Selecting Files with Directory Name Nodes

Explanation

The FILES command lists the file names and corresponding file types in a user's library.

File names are composed typically of several names separated by forward slashes (/). Each name delimited by a forward slash is referred to as a node. This file naming convention can generate a hierarchy of files into subdirectories.

When you list file names using file name nodes, the first node name must be given. If you specify additional nodes, they must be in hierarchical order—a level cannot be skipped. You can optionally specify your usercode, unless you want to list files under a usercode other than your own (privileges allowing).

FILES

If FILES is entered without a specified file name or option, all of the directories and files in your library on the family pack are listed.

<file name>

If a file name is given, the name and type of the file on the current family pack are listed. If the name supplied is both a file name and a directory name, all files under the directory name and the file name on the current family pack are listed.

<directory name>

If a directory name is specified, the names and types of files under the directory for the current family pack are listed. If the name supplied is both a file name and a directory name, all files under the directory and the file name on the current family pack are listed. The equal sign (=) can be used to list all files under the directory. The following is an example of using the FILES command to list the files under a directory name:

FILES (LEDGER)PAYROLL/=

<file directory>

If a file directory is specified, the names and types of files under the directory for the current family pack are listed. If the name supplied is both a file name and a directory name, all files under the directory and the file name on the current family pack are listed.