HPlogo Commands Reference HP 3000 Series 9X8LX Computer Systems > Chapter 2 MPE/iX Commands

DISCUSE (UDC)

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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".

NOTE: 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; 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 Commands



   DISKUSE

   LISTFILE

   REPORT
Feedback to webmaster