Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
RPTTYPE | Type of report | *DIR, *OBJ, *OWN | Required, Positional 1 |
INFFILEPFX | Information file prefix | Simple name, *LAST | Optional |
INFLIB | Information library | Name, *LAST | Optional |
OWNER | Owners | Generic name, name, *ALL | Optional |
OBJ | Objects | Path name, *ALL, *NONE | Optional |
OBJTYPE | Object types | Single values: *ALL Other values (up to 60 repetitions): *ALRTBL, *AUTL, *BLKSF, *BNDDIR, *CFGL, *CHTFMT, *CHRSF, *CLD, *CLS, *CMD, *CNNL, *COSD, *CRG, *CRQD, *CSI, *CSPMAP, *CSPTBL, *CTLD, *DDIR, *DEVD, *DIR, *DOC, *DSTMF, *DTAARA, *DTADCT, *DTAQ, *EDTD, *EXITRG, *FCT, *FIFO, *FILE, *FLR, *FNTRSC, *FNTTBL, *FORMDF, *FTR, *GSS, *IGCDCT, *IGCSRT, *IGCTBL, *IMGCLG, *IPXD, *JOBD, *JOBQ, *JOBSCD, *JRN, *JRNRCV, *LIB, *LIND, *LOCALE, *MBR, *MEDDFN, *MENU, *MGTCOL, *MODD, *MODULE, *MSGF, *MSGQ, *M36, *M36CFG, *NODGRP, *NODL, *NTBD, *NWID, *NWSD, *OUTQ, *OVL, *PAGDFN, *PAGSEG, *PDG, *PGM, *PNLGRP, *PRDAVL, *PRDDFN, *PRDLOD, *PSFCFG, *QMFORM, *QMQRY, *QRYDFN, *RCT, *SBSD, *SCHIDX, *SOCKET, *SPADCT, *SQLPKG, *SQLUDT, *SRVPGM, *SSND, *STMF, *SVRSTG, *SYMLNK, *S36, *TBL, *TIMZON, *USRIDX, *USRPRF, *USRQ, *USRSPC, *VLDL, *WSCST |
Optional |
SUBTREE | Directory subtree | *ALL, *NONE | Optional |
MINSIZE | Smallest size | 0-99999, 0 | Optional |
SORT | Sort by | *SIZE, *OWNER, *LSTCHG, *NAME | Optional |
INCPATH | Include path names | *ALL, *NONE | Optional |
Top |
Specifies the type of report to print.
This is a required parameter.
Top |
Specifies the file name prefix of the database files that were created by the Retrieve Directory Information (RTVDIRINF) command to store the retrieved directory information.
Top |
Specifies the library that contains the database files that were created by the Retrieve Directory Information (RTVDIRINF) command to store the retrieved directory information.
Top |
Specify the names of the owners (user profiles) of the objects to print information about.
Top |
Specifies the names of the objects to print information about.
Top |
Specifies the object types to print information about. If the OWNER or OBJ parameters were specified with a value other than *ALL, the owner and object name criteria must also be met.
Single values
Other values (up to 60 repetitions)
Top |
Whether to print subdirectories statistics in the report or not.
Top |
Specifies the size of the smallest object to include.
Top |
Specifies the order in which the information should be sorted.
Top |
Specifies if the report will include the path where the objects reside. If *NONE is specified for Object (OBJ) parameter and *OWN is specified for the Type of report (RPTTYPE) parameter, this parameter will be ignored.
Top |
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.
Top |
*ESCAPE Messages
Top |