DISCUSE (UDC) [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation
MPE/iX Commands Reference Manual Volume I
DISCUSE (UDC)
The DISCUSE UDC executes the DISKUSE command to display disk space usage,
in sectors, for one or more directories or a directory tree. This UDC is
provided for those who are used to spelling disk with a "c".
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
Syntax
DISCUSE [[DIR=]dir_name] [;USENAME | ;TREE | ;NOTREE]
Parameters
Refer to the DISKUSE command for a complete explanation of the parameters
used with the DISCUSE UDC. The following parameters are supported with
the DISCUSE UDC.
dir_name Directory name for which information is being
listed (optional).
TREE Causes all directories below and including dir_name
to be reported.
NOTREE Causes dir_name only to be reported.
USENAME Causes DISKUSE to use dir_name name to decide
whether or not to display multiple levels of
directories.
Operation Notes
The DISCUSE UDC runs the DISKUSE command and reports disk space, in
sectors, for a directory. Refer to the DISKUSE command for a complete
explanation of the operation.
Use
This UDC may be issued from a session, a job, a program, or in break
mode. Pressing Break aborts execution.
Examples
The following example illustrates the use of the DISCUSE UDC. Note that a
message is printed to remind you to use the DISKUSE command.
DISCUSE
Please use the DISKUSE command.
^
SECTORS
TREE LEVEL DIRECTORY (CWD= /ACCT/GROUP/d0)
BELOW
2100 330 .
Refer to the DISKUSE command later in this chapter for additional
examples.
Related Information
Commands DISKUSE, LISTFILE, REPORT
MPE/iX 5.0 Documentation