Previous Topic: When to UseNext Topic: Copy of DDB--Example JCL: DATASP without BLOCKS= Specified (14.0)


How to Use

To obtain a Space Usage (DATASP) report, execute the REPORT function with the following command format:

►►─ REPORT TYPE=DATASP,DBID=dbid,AREA=area ───┬──────────────────┬──►◄
                                              └─ ,BLOCKS=nnnnnn ─┘
REPORT

Invokes the report function.

TYPE=DATASP

(Required) Requests the data area space usage report.

Valid Entries: DATASP

Default Value: (No default)

,DBID=

(Required) Specifies the number of the DBID that you want to use.

Valid Entries: A valid DBID

Default Value: (No default)

,AREA=

(Required) Identifies the area you want to report on.

Valid Entries: DATACOM-NAME of the area in the database specified

Default Value: (No default)

,BLOCKS=

(Optional) Specifies the blocks to process (and include) in each printed detail line output. If a value is not specified, no detail lines are produced and only the summary lines for the data area are produced.

Note: Specifying a low number for BLOCKS= parameter with a data area with a large amount of data blocks generates a large number of detail lines (one per block group). If the number of groups generated exceeds 99,999 groups, the report allows the group number to “roll” over to zero and begin again. This typically would also mean that over 2000 pages of detail group lines would be generated. We recommend that a BLOCKS= value be specified that keeps the number of detail groups to a 1000 groups or less.

Valid Entries: 0 to 999999

Default Value: (No default)