LISTDIR (UDC) [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation
MPE/iX Commands Reference Manual Volume I
LISTDIR (UDC)
The LISTDIR UDC executes the LISTFILE command to list all files that are
directories.
System-defined UDCs are not automatically available. Your System Manager
must use the SETCATALOG command to make these UDCs available for your
use. For example,
SETCATALOG HPPXUDC.PUB.SYS;SYSTEM;APPEND
Syntax
LISTDIR [[DIR=]dir_name] [[FORMAT=]format_opt]
Parameters
Refer to the LISTFILE command for a complete explanation of the
parameters used with the LISTDIR UDC. The following parameters are
supported with the LISTDIR UDC.
dir_name The name of the directory to list. The dir_name
can be in MPE or HFS syntax; wildcards may be used.
For example, /SYS/PUB, /SYS/PUB/dir@, ./abc/mydir,
and @abc are valid examples of directory names. If
dir_name is not specified, the default directory
name is ./@ (all directories directly under your
current working directory).
format_opt An output format option. The option may be
specified as a number or mnemonic. For example,
FORMAT=2
or
FORMAT=DISC
If not specified, the default is FORMAT=6
(qualify).
Refer to the LISTFILE command for a complete
description of each available format option.
Operation Notes
The LISTDIR UDC lists all files that are directories. The UDC executes
the following form of the LISTFILE command:
LISTFILE dir_name ;FORMAT=format_opt ;SELEQ=[OBJECT=DIR] ;TREE
Use
This UDC may be issued from a session, a job, a program, or in BREAK.
Pressing Break aborts execution.
Examples
Refer to the LISTFILE command later in this chapter for examples.
Related Information
Commands LISTFILE, FINDDIR (UDC)
Manuals None
MPE/iX 5.0 Documentation