Print Disk Information (PRTDSKINF)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Print Disk Information (PRTDSKINF) command is used to print disk space information that was stored in database file QAEZDISK or QAEZDnnnnn by the Retrieve Disk Information (RTVDSKINF) command, where 'nnnnn' is the ASP number of the independent ASP for which disk space information was retrieved. The output with file name QPEZDISK goes to the spool queue associated with the job using this command.

Top

Parameters

Keyword Description Choices Notes
RPTTYPE Type of report *LIB, *FLR, *OWN, *OBJ, *SYS Required, Positional 1
ASPDEV ASP device Name, *SYSBAS Optional
LIB Libraries Generic name, name, *ALL Optional
OWNER Owners Generic name, name, *ALL Optional
FLR Folders Generic name, name, *ALL Optional
DOC Documents Generic name, name, *ALL, *NONE Optional
OBJ Objects Generic name, 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, *CRQD, *CSI, *CSPMAP, *CSPTBL, *CTLD, *DEVD, *DEACR, *DEADI, *DEADS, *DIR, *DIRCR, *DIRDS, *DOC, *DTAARA, *DTADCT, *DTAQ, *EDTD, *EXITRG, *FCT, *FIFO, *FILE, *FLR, *FNTRSC, *FORMDF, *FTR, *GSS, *IMGCLG, *IPXD, *JOBD, *JOBQ, *JOBSCD, *JRN, *JRNRCV, *LIB, *LIND, *MENU, *MGTCOL, *MRD, *MODD, *MODULE, *MSGF, *MSGQ, *NODL, *NODGRP, *NWID, *NWSCFG, *OVL, *PAGDFN, *PAGSEG, *PDFMAP, *PDG, *PGM, *PNLGRP, *PRDDFN, *PRDLOD, *PSFCFG, *QMFORM, *QMQRY, *QRYDFN, *RCT, *SBSD, *SCHIDX, *SPADCT, *SQLPKG, *SRVPGM, *SSND, *STMF, *SVRSTG, *SOCKET, *SYMLNK, *S36, *TBL, *TIMZON, *USRIDX, *USRPRF, *USRQ, *USRSPC, *VLDL, *WSCST
Optional
MINSIZE Smallest size Decimal number, 0 Optional
SORT Sort by *SIZE, *OWNER, *LSTCHG, *LSTUSE, *NAME Optional
Top

Type of report (RPTTYPE)

Specifies the type of report to print. The report information is taken from member QCURRENT in QAEZDISK or QAEZDnnnnn, where 'nnnnn' is the ASP number of the independent ASP for which disk space information was retrieved. If QCURRENT does not contain any data, an error message is sent.

This is a required parameter.

Restrictions:

*LIB
A report of the library information contained in the file is printed.
*FLR
A report of the folder information contained in the file is printed.
*OWN
A report of the user profile (owner) information contained in the file is printed.
*OBJ
A report of object information contained in the file is printed.
*SYS
A report of only the system information contained in the file is printed.
Top

ASP device (ASPDEV)

Specifies the auxiliary storage pool (ASP) device for which disk space information is to be printed.

*SYSBAS
Disk information for the system ASP and all basic ASPs is printed. File QAEZDISK in library QUSRSYS contains the disk space information that is to be printed.
name
Specify the name of the ASP device for which disk space information is to be printed. File QAEZDnnnnn in library QUSRSYS contains the disk space information that is to be printed, where 'nnnnn' is the ASP number of the specified ASP device.
Top

Libraries (LIB)

Specifies the names of the libraries to print information about.

*ALL
The report has information on all user libraries on the system.
name
Specify the user library.
generic-name
Specify the generic library name.
Top

Owners (OWNER)

Specifies the names of the owners (user profiles) to print information about.

*ALL
The report contains information on all user profiles on the system.
name
Specify the name of a user profile.
generic-name
Specify the generic user profile name.
Top

Folders (FLR)

Specifies the names of the folders to print information about.

*ALL
The report has information on all user folders on the system.
name
Specify the folder name.
generic-name
Specify the generic folder name.
Top

Documents (DOC)

Specifies the names of the documents to print information about.

*ALL
The report contains information on all documents in the specified folder.
name
Specify the document by the given name within the specified folder.
generic-name
Specify the documents specified by the generic qualification.
Top

Objects (OBJ)

Specifies the names of the objects to print information about.

*ALL
If you specify a library or owner, then the object information is all objects within the library or those controlled by the owner.
*NONE
No library or owner is specified.
name
Specify a library or owner, then the object information is the object specified by the given name within the library or controlled by the owner.
generic-name
Specify a library or owner, then the object information are the objects that meet the specified generic qualification within the library or controlled by the owner.
Top

Object types (OBJTYPE)

Specifies the object types to print information about.

Single values

*ALL
If you specify a library or owner, information is printed on all the specified object types within the library or controlled by the owner. If an object name is specified, information on all object types with that name, within the library, or controlled by the owner is printed. If a library or owner is not specified, the report has information on all object types on the system. If an object name is specified, information only on object types with that name is printed.

Other values (up to 60 repetitions)

object-type
Specify a library or owner, then the object type information is the object type specified within the library or controlled by the owner. If an object is specified, the report has information on the objects with the specified object type within the library or controlled by the owner.
Top

Smallest size (MINSIZE)

Specifies the size of the smallest piece of information to include. For example, if a library report is requested without objects, then this size would be the size of the smallest library to include. If objects within the library are requested, then this would be the size of the smallest object within the library to include.

0
All objects are included regardless of size.
size
Specify size in thousands of bytes.
Top

Sort by (SORT)

Specifies the order in which the information should be sorted.

*SIZE
Information is sorted from large to small.
*OWNER
The information is sorted in alphabetical order by owner name.
*LSTCHG
The information is sorted by last-change date with the oldest information first.
*LSTUSE
The information is sorted by last-use date with the oldest information first.
*NAME
Information is sorted in alphabetical order according to the report type.
Top

Examples

PRTDSKINF  ASPDEV(*SYSBAS) RPTTYPE(*LIB)  LIB(*ALL)  OBJ(*ALL)
           SORT(*SIZE)

This command prints a library report from database file QAEZDISK in library QUSRSYS in member QCURRENT, containing information about all libraries, objects, and object types in the libraries. The information is sorted by size and sent to the printer file QPEZDISK.

Top

Error messages

*ESCAPE Messages

CPF1ED0
Current collection of disk space information not found.
CPF1ED1
Not authorized to collect disk space information.
CPF1ED2
File &1 is in use and cannot be accessed.
CPF1EEC
Not authorized to file &1.
CPF1E99
Unexpected error occurred.
Top