Library Size Report (DSPLIBSIZE)

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

The Library Size Report (DSPLIBSIZE) command lists the size (in bytes) of the library and its objects along with an object count for the library. Unlike using DSPOBJD and adding up the ODOBSZ field, this command returns accurate library size information.

Top

Parameters

Keyword Description Choices Notes
LIB Library name Generic name, name, *CURLIB, *ALL, *ALLUSR, *IBM Optional, Positional 1
OUTQ Output queue Single values: *JOB
Other values: Qualified object name
Optional, Positional 2
Qualifier 1: Output queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
WARN Warn when size reaches (MB) Decimal number, 1GB, 1TB Optional, Positional 3
Top

Library name (LIB)

Specifies library name (generic, full, or *ALL) whose size information is printed.

*CURLIB
The Library Size Report is over the current library only.
*ALL
All libraries are included on the Library Size Report.
*ALLUSR
All user libraries are included on the Library Size Report.
*IBM
All IBM (operating system) libraries are included on the Library Size Report.
generic-name
Specify the generic name for a group of libraries to be included on the report.
name
Specify the name of a single library whose size information is printed.
Top

Output queue (OUTQ)

Specify the output queue (OUTQ) where the Library Size Report is stored/SPOOLED.

Single values

*JOB
The output queue associated with this job is used for the spooled output.

Qualifier 1: Output queue

name
Specify the name of an OUTQ to be used for the generated Library Size Report.
Top

Library size warning limit - Help

Specify minimum size (in megabytes, e.g., 1000 = 1 GB) for a library before the "WARNING!" message is included on the report. When the size of all objects in a library included on the report exceeds the warning level, the library is flagged with the "WARNING!" message to the right of the library size.

Single values

1GB
This special value allows you to easily specify 1GB. It has the same effect as specifying 1000 for this parameter.
megabytes
Specify the maximum library size, in megabytes before a warning message is included on the report. To specify 500 megabytes, specify WARN(500) to specify 1 Gigabyte, specify WARN(1000) for 10 GB specify WARN(10000).
Top

Examples

None
Top

Error messages

Unknown
Top