LISTFILE

Operation Notes

You can use LISTFILE to list descriptions of one or more disk ￿les at the level of detail you select. You must have traverse directory (TD) en tries and/or read directory (RD) en tries for the directories in the pathname of the ￿les that will be displa yed by LISTFILE . (Refer to the ALTSEC command for further information on directory permissions.) F or example, if the ￿leset is

./dir1/dir@/@ and NAME=@ , you must have TD access for the CWD. Also, y ou must have TD and/or RD access for dir1 and any directories in dir1 that match the pattern dir@. You do not need TD access on the directories in dir1 to display the names of the ￿les, that is, if y ou use format options 0 or 6.

For format options -1, -2, -3, and -5, y ou must have either SM or AM capability for the ￿le. A ￿le description is not listed unless the ￿le's home volume set (PV) is moun ted.

Use

This command ma y be issued from a session, a job, a program, or in break mode. Pressing 4Break5 aborts execution.

If the ￿leset is in MPE syntax, LISTFILE does not displa y ￿le names that do not follow MPE naming syn tax. For example, LISTFILE @,2 will not displa y the ￿le am_pm, LISTFILE ./@,2 will display the ￿le.

If the ￿leset is in HFS syntax, and it ends in a slash (or the TREE option is speci￿ed), ￿rst all the nodes (￿les and directories) are displa yed that match the ￿leset parameter (horizon tal cut). Those ￿les that matc h the pattern of pattern are the ones that are displa yed using the format opt speci￿ed.

If the HFS syntax ￿leset does not end in a slash (or the NOTREE option is speci￿ed), all the nodes (￿les and directories) that matc h the pattern of ￿leset (horizontal cut) and the pattern of pattern are displayed using the format opt speci￿ed.

In both the above cases, a ￿nal ￿lter of SELEQ is applied, if presen t, to further restrict the names to be displa yed.

MPE/iX Commands 2-123