CL Command Reference - PRTDIRINF
CL Command List > PRTDIRINF Reference
Description:
The Print Directory Information (PRTDIRINF) command is used to print directory information for objects in the Integrated File System that was collected by the Retrieve Directory Information (RTVDIRINF) command. A spooled file with file name QPEZDIR goes to the spool queue associated with the job using this command.
Restrictions:
. You must have all object (*ALLOBJ) special authority to run this command.
. Job CCSID value 65535 is not allowed.
Examples:
Example 1: Print Information, Grouped by Owner, for Most Recent RTVDIRINF
PRTDIRINF RPTTYPE(*OWN) INFFILEPFX(*LAST) INFLIB(*LAST)
OWNER(*ALL) OBJ(*ALL) OBJTYPE(*ALL) SORT(*SIZE)
This command prints an owner report from the database file created by the most recent invocation of the Retrieve Directory Information (RTVDIRINF) command. Information in the report will be included for all objects, grouped by their owner. The information is sorted by object size and sent to the printer file QPEZDIR.
Example 2: Print a Directory Report
PRTDIRINF RPTTYPE(*DIR) INFFILEPFX(MYROOTDIR)
INFLIB(QUSRSYS) SUBTREE(*ALL)
This command prints a directory report from database file MYROOTDIRO and MYROOTDIRD created by a prior invocation of the Retrieve Directory Information (RTVDIRINF) command. If information was collected for subdirectories by the RTVDIRINF command, that information will be included in the directory report. The information is sent to the printer file QPEZDIR.