Syntax

The PUNIT (Process Unit) command initiates the SYSTEM/PUNIT program and enables you to search for hardware units with a set of specified characteristics. You can also specify sort preferences, and direct the output to a printer file, disk file, or remote file.
Following are some examples of PUNIT command. For a detailed discussion of this command, refer to the PDIR, PMIX, and PUNIT Utilities section of the System Software Utilities Operations Reference Manual.
Example 1
This example selects all units.
PUNIT
Example 2
This example selects tape units and shows some selected attributes.
PUNIT SELECT KINDNAME=MT SHOW KINDNAME, WRITEENABLED, UNITNO, DENSITYNAME, READY, NAME, SCRATCH
Example 3
This example selects pack units and shows the family structure, user count, and available sectors. The output is sorted by descending numbers of available sectors.
PUNIT SELECT KINDNAME=PK SHOW UNITNO, NAME, FAMILYINDEX, BASEUNIT, USERCOUNT, AVAILSECTS SORT DESCENDING AVAILSECTS