COMPAKTOR Reports


Extents map

COMPAKTOR produces a map showing all of the data sets and free spaces on the volume in sequence by location. For SIMULATE and COMPAKT, maps are produced showing the condition of the volume both BEFORE and AFTER the operation. The map shows the data set name, the location, and size of each extent, and the extent number and total number of extents. For the first extent of a data set, the map shows the data set organization, the type and quantity of secondary allocation, the last block pointer, the total size of the data set, and how much of the allocated space is unused.

COMPAKTOR normally highlights the lines for the VTOC and the free spaces, to make them stand out more. (If you plan to look at the map from a terminal, we recommend that you specify HILIGHT=NO, because the highlighting would appear as duplicated lines.)

For non-VSAM data sets, the LAST BLK TTR points to the highest used record in the data set; the first 4 digits are the highest used track (in hex, relative to zero) and the last 2 digits are the highest record number on that track (in hex). EMPTY TRKS is based on the total allocation minus the used tracks for PS and PO data sets.

For VSAM components, the LAST BLK TTR contains generated information. The first 4 digits are the last track of the highest used Control Area (in hex, relative to zero) in the cluster as derived from the HI-USED-RBA value in the VVDS entry for the cluster and the last 2 digits are the number of tracks per Control Area (CA), in hex, except the hi-order x’80’ flag is on to indicate that COMPAKTOR was unable to release space on this component. If the TTR contains non-zero data, then EMPTY TRKS indicate unused tracks in the cluster. These values may be zero for VSAM components in the AFTER MAP.

See the following page for a sample COMPAKTion Extent Map.

For volumes with more than 64K tracks and less than 65,521 cylinders, such as the 3390-9, the map is in a slightly different format with starting and ending cylinders on the left and 5-digit cylinder numbers. The MAPFORMAT=NEW operand can force this format even on smaller DASD volumes.

For EAV volumes, the map format shows the starting and ending “CCHH” values on the left allowing up to 7-digits for the “CC”. Additionally, 8-digits are supported for the extent length. The VTOC Summary section displays the number of Format 8 and 9 DSCBs as well. The “Combined Summary” section may show track values with a “M” suffix denoting the values displayed are in megabytes. The MAPFORMAT=EAV operand can force this format even on smaller DASD volumes.

Important

An Extended Address Volume (EAV) is by definition 65,521 cylinders or larger. The maximum size of a volume is 1 terabyte with z/OS V1R13.

Sample COMPAKTOR control cards

To release space and compact the volume, a two-step job is run performing the space release first followed by the fast compaction of the volume. In the compaction step, the first parameter (0) of the SIZEKEEP= operand is used to maximize free space consolidation.

Step 1 (Space Release)

CPK301I INNOVATION DATA PROCESSING - COMPAKTOR VER. 5.4/91P MESSAGES
CPK305I CARD -- * CPK TYPE=RLSE,VOL=SH2512,HI=NO,PRINT=ALL,PSRLSE=ALL,PORLSE=ALL,
CPK305I CARD -- * VSRLSE=ALL,MAPS=ALL
CPK306I *** END OF CONTROL STATEMENTS. ***

Step 2 (Fast Compaction)

CPK301I INNOVATION DATA PROCESSING - COMPAKTOR VER. 5.4/91P MESSAGES
CPK305I CARD -- * CPK TYPE=FASTCPK,VOL=SH2512,HI=NO,PRINT=ALL,
CPK305I CARD -- * SIZEKEEP=(0,100,1),OBJECT=MINEXTS
CPK306I *** END OF CONTROL STATEMENTS. ***

CPK320I COMPAKTOR OPTIONS IN EFFECT -- RUN TYPE --------------- COMPAKT


INPUT DEVICE ----------- UNIT=1C0,VOLSER=SYM000,DEVTYPE=3390-9 ,DDNAME=DISK1


HILIGHT ---------------- NO


LINE COUNT ------------- 058


MAPS ------------------- ALL,EXTENTS


VTOC ENQUEUE------------ RESERVE


DATA SET ENQUEUE-------- USE


TEMPORARY DATA SETS----- KEEP


DATA SET EXTENTS ------- MERGE,VSAM EXTENTS -- MERGE


PS RELEASE ------------- TRK %FREE=00


PO RELEASE ------------- NO %FREE=00


VSAM RELEASE ----------- NO %FREE=00


VTOC ------------------- NOCHANGE


OBJECTIVE -------------- RELEASE


OVERRIDE ACTIVE/UNMOVE-- NO


NO SECONDARY SPACE------ RLSE


CPK529I INDEXED VTOC EXISTS ON VOLUME=SYM000


CPK564I COMPAKTOR WILL RELEASE 10 TRACKS - LEAVING 1 TRACKS DSN=TST1.PS.A6000


CPK564I COMPAKTOR WILL RELEASE 10 TRACKS - LEAVING 1 TRACKS DSN=TST1.PS.A5998


CPK564I COMPAKTOR WILL RELEASE 10 TRACKS - LEAVING 1 TRACKS DSN=TST1.PS.A5996





CPK564I COMPAKTOR WILL RELEASE 15 TRACKS - LEAVING 1 TRACKS DSN=TST3.PS.A0002


CPK564I COMPAKTOR WILL RELEASE 15 TRACKS - LEAVING 1 TRACKS DSN=TST3.PS.A0001


CPK564I COMPAKTOR WILL RELEASE 66516 TRACKS FROM VOL=SYM000


CPK321I COMPAKTOR RELEASE STARTED.


CPK533I INDEXED VTOC SUCCESSFULLY UPDATED


CPK322I COMPAKTOR RELEASE ENDED.


CPK600IA COMPAKTOR SUCCESSFULLY COMPLETED RELEASE RUN ------ VOLUME=SYM000

COMPAKTOR produces a summary showing many statistics for each volume. For SIMULATE and COMPAKT, two columns show the statistics BEFORE and AFTER the operation. There are statistics for the volume as a whole, for various categories of data sets, and for the VTOC. Some uses of the summary map are discussed in COMPAKTOR-Output.

CPK301I INNOVATION DATA PROCESSING - COMPAKTOR VER. 5.4/91P SUMMARY MAP OF


VOLUME SYM000.


BEFORE AFTER


VOLUME SUMMARY --- DEVICE TYPE ................................. 3390-9 3390-9


NO. OF TRACKS ...............................150255 150255


NO. OF CYLINDERS ............................ 10017 10017


NO. OF TRACKS PER CYLINDER .................. 15 15


NO. OF ALLOCATED TRACKS ..................... 73477 6961


NO. OF ALLOCATED EXTENTS .................... 6002 6002


NO. OF UNMOVEABLE EXTENTS ................... 1 1


NO. OF FREE TRACKS .......................... 76778 143294


NO. OF FREE CYLINDERS ....................... 466 3952


NO. OF FREE SPACE AREAS ..................... 5830 6001


SIZE OF LARGEST FREE AREA, IN TRACKS ........ 7000 7015


PERCENTAGE OF VOLUME IN USE ................. 49 5


IBM FRAGMENTATION INDEX...................... 0.801 0.781


DATASET SUMMARY -- NO. OF EMPTY TRACKS IN PS DATA SETS ......... 72516 6000


NO. OF EMPTY TRACKS IN PO DATA SETS ......... 0 0


NO. OF EMPTY TRACKS IN VSAM DATA SETS ....... 0 0


NO. OF PS DATA SETS WITH EMPTY TRACKS ....... 6000 6000


NO. OF PO DATA SETS WITH EMPTY TRACKS ....... 0 0


NO. OF UNMOVEABLE DATA SETS ................. 1 1


NO. OF DATA SETS WITH 2 OR MORE EXTENTS ..... 0 0


NO. OF DATA SETS WITH SUL TRACKS ............ 0 0


NO. OF TEMPORARY DATA SETS .................. 0 0


NO. OF DATA SETS -- IS ORGANIZATION ......... 0 0


NO. OF DATA SETS -- PS ORGANIZATION ......... 6001 6001


NO. OF DATA SETS -- PO ORGANIZATION ......... 0 0


NO. OF DATA SETS -- DA ORGANIZATION ......... 0 0


NO. OF DATA SETS -- AM ORGANIZATION ......... 0 0


NO. OF DATA SETS -- EF ORGANIZATION ......... 0 0


NO. OF DATA SETS -- ** ORGANIZATION ......... 0 0


NO. OF DATA SETS -- TOTAL ................... 6001 6001


VTOC SUMMARY ----- VTOC IS AT RELATIVE TRACK ................... 15 15


VTOC SIZE IN TRACKS ......................... 945 945


NO. OF UNUSED VTOC TRACKS ................... 824 824


NO. OF DSCBS PER TRACK ...................... 50 50


NO. OF MODEL DSCBS .......................... 1 1


NO. OF FORMAT 0 DSCBS ....................... 41246 41246


NO. OF FORMAT 1 DSCBS ....................... 6002 6002


NO. OF FORMAT 2 DSCBS ....................... 0 0


NO. OF FORMAT 3 DSCBS ....................... 0 0


NO. OF FORMAT 4 DSCBS ....................... 1 1


NO. OF FORMAT 5 DSCBS ....................... 1 1


NO. OF FORMAT 7 DSCBS ....................... 0 0


NO. OF FORMAT 8 DSCBS ....................... 0 0


NO. OF FORMAT 9 DSCBS ....................... 0 0


NO. OF DSCBS -- TOTAL ....................... 47250 47250


NO. OF DSCBS IN USE ......................... 6004 6004


PERCENTAGE OF DSCBS IN USE .................. 13 13


*** END OF SUMMARY MAP ***


(Sheet of )
CPK301I INNOVATION DATA PROCESSING - COMPAKTOR VER. 5.4/91P EXTENTS MAP OF


VOLUME SH2512 BEFORE COMPAKTION


STARTING ENDING EXTENT D/S SPACE 2ND LAST BLK TOTAL EMPTY


CCHH CCHH LENGTH D A T A S E T N A M E EXTENT ORG ALLOC ALLC TTR(HEX) TRACKS TRACKS


0000-00 0000-00 1 *** IPL AND LABEL RECORDS ***


0000-01 0001-14 29 *** VTOC *** 01/01


0002-00 0002-04 5 SYS1.VTOCIX.VSH2512 01/01 PS TRK 0 000406 5 0


0002-05 0002-14 10 SYS1.VVDS.VSH2512 01/01 EF TRK 10 000901 10 0


0003-00 0003-02 3 ICF1.CPKV0908.KSDS1.INDX 01/04 EF TRK 3 000B01 12 0


0003-03 0003-11 9 ICF1.CPKV0908.KSDS2.INDX 01/24 EF TRK 9 00D601 216 1


0003-12 0003-14 3 ICF1.CPKV0908.KSDS1.INDX 02/04


0004-00 0004-14 15 ICF1.CPKV0908.KSDS2.DATA 01/123 EF CYL 21 962C0F 38445 0


0005-00 0005-14 15 *** FREE SPACE ***


0006-00 0006-14 15 ICF1.CPKV0908.KSDS1.DATA 02/123


0007-00 0007-14 15 *** FREE SPACE ***


0008-00 0008-14 15 ICF1.CPKV0908.KSDS1.DATA 03/123


0009-00 0009-14 15 *** FREE SPACE ***


0010-00 0010-14 15 ICF1.CPKV0908.KSDS1.DATA 04/123


0011-00 0011-14 15 *** FREE SPACE ***


0012-00 0012-14 15 ICF1.CPKV0908.KSDS1.DATA 05/123


0013-00 0013-14 15 *** FREE SPACE ***


0014-00 0014-14 15 ICF1.CPKV0908.KSDS1.DATA 06/123


0015-00 0015-14 15 *** FREE SPACE ***


0016-00 0016-14 15 ICF1.CPKV0908.KSDS1.DATA 07/123


0017-00 0017-14 15 *** FREE SPACE ***


0018-00 0018-14 15 ICF1.CPKV0908.KSDS1.DATA 08/123


0019-00 0019-14 15 *** FREE SPACE ***


0020-00 0020-14 15 ICF1.CPKV0908.KSDS1.DATA 09/123


0021-00 0021-14 15 *** FREE SPACE ***


0022-00 0022-14 15 ICF1.CPKV0908.KSDS1.DATA 10/123


0023-00 0023-14 15 *** FREE SPACE ***


0024-00 0024-14 15 ICF1.CPKV0908.KSDS1.DATA 11/123


0025-00 0025-14 15 *** FREE SPACE ***


0026-00 0026-14 15 ICF1.CPKV0908.KSDS1.DATA 12/123


0027-00 0027-14 15 *** FREE SPACE ***


0028-00 0028-14 15 ICF1.CPKV0908.KSDS1.DATA 13/123


0029-00 0029-14 15 *** FREE SPACE ***


0030-00 0030-14 15 ICF1.CPKV0908.KSDS1.DATA 14/123


0031-00 0031-14 15 *** FREE SPACE ***


0032-00 0032-14 15 ICF1.CPKV0908.KSDS1.DATA 15/123


0033-00 0033-14 15 *** FREE SPACE ***

Before COMPAKTion, data set ICF1.CPKV0908.KSDS1 was in 123 extents and after COMPAKTion this VSAM data component went into one extent.

CPK301I INNOVATION DATA PROCESSING - COMPAKTOR VER. 5.4/91P EXTENTS MAP OF


VOLUME SH2512 AFTER COMPAKTION


STARTING ENDING EXTENT D/S SPACE 2ND LAST BLK TOTAL EMPTY


CCHH CCHH LENGTH D A T A S E T N A M E EXTENT ORG ALLOC ALLC TTR(HEX) TRACKS TRACKS


0000-00 0000-00 1 *** IPL AND LABEL RECORDS ***


0000-01 0001-14 29 *** VTOC *** 01/01


0002-00 0002-04 5 SYS1.VTOCIX.VSH2512 01/01 PS TRK 0 000406 5 0


0002-05 0002-14 10 SYS1.VVDS.VSH2512 01/01 EF TRK 10 000901 10 0


0003-00 0003-14 15 ICF1.CPKV0908.KSDS2.DATA 02/02


0004-00 0125-14 1830 ICF1.CPKV0908.KSDS1.DATA 01/02 EF CYL 1 08600F 2145 0


0126-00 0140-05 216 ICF1.CPKV0908.KSDS2.INDX 01/01 EF TRK 9 00D601 216 1


0140-06 0141-02 12 ICF1.CPKV0908.KSDS1.INDX 01/01 EF TRK 3 000B01 12 0


0141-03 65519-14 980682 *** FREE SPACE ***


65520-00 68081-14 38430 ICF1.CPKV0908.KSDS2.DATA 01/02 EF CYL 21 962C0F 38445 0


68082-00 68102-14 315 ICF1.CPKV0908.KSDS1.DATA 02/02


68103-00 262667-14 2918475 *** FREE SPACE ***


*** END OF EXTENTS MAP ***

Combined summary

COMPAKTOR produces a combined summary, with two lines (BEFORE and AFTER) with selected statistics from the summary of each volume processed, sorted by volume serial number. Only one line is printed for MAP. The combined summary is printed on ddname SYSSUMM, if present, or at the end of SYSMAP if not.

Here is a sample combined summary report.

CPK301I INNOVATION DATA PROCESSING - COMPAKTOR VER. 5.4/91P COMBINED SUMMARY DATE 2020.055 TIME 12.49.54 PAGE 1


- NUMBER OF - >1 -- ALLOCATED --- -------
VOLSER DEVTYPE CYLS DSNS EXTS TRACKS EXTS %AL TRACKS

SH2512 3390-A 262668 13 4 42888 284 1 3.8M
--AFTER-CPK--> 13 2 40968 258 1 3.8M

SH2514 3390-A 65667 13 4 42888 284 4 942117
--AFTER-CPK--> 13 2 40968 258 4 944037

SH2516 3390-A 133560 13 4 42888 284 2 1.9M
--AFTER-CPK--> 13 2 40968 258 2 1.9M

u

FREE
AREAS

247
2

247
1

247
2


------- FRAG - EMPTY TRACKS IN - - VTOC -
LARGEST INDEX VSAM PS PO SIZE %US

2.8M 0.047 1 1796 222 29 3
2.9M 0.039 1 56 42 29 3

901395 0.030 1 1796 222 29 3
944037 0.000 1 56 42 29 3

976812 0.065 1 1796 222 29 3
981855 0.051 1 56 42 29 3

v

TIME
(MIN)


.9


1.6


.9


COMP
CODE


0


0


0

CPK RELEASED 5760 TRKS AND ELIMINATED 736 FREE SPACE AREAS FROM 3 VOLS WITH 6928425 TRKS ( 2% ALLOCATED)
*** END OF SUMMARY MAP ***

  1. Reduction in Free Space Areas
  2. Actual Elapsed Time
    Many of these fields are extracted from the Summary Report on the previous page, and are described in Section 40.15 “COMPAKTOR Output. Some are unique to this report. Briefly, the fields are:

    • NUMBER OF TRACKS - Total tracks on the volume
    • NUMBER OF DSNS - Total data sets on the volume
    • >1 EXTS - Number of data sets with more than one extent
    • ALLOCATED TRACKS - Total allocated tracks
    • ALLOCATED EXTS - Total allocated extents
    • ALLOCATED %AL - Percentage of total tracks allocated
    • FREE TRACKS - Total tracks not allocated
    • FREE AREAS - Number of free space areas
    • FREE LARGEST - Largest free area size in tracks
    • FRAG INDEX - IBM fragmentation index
    • EMPTY TRACKS IN… - Total unused tracks in VSAM, PS, and PO data sets
    • VTOC SIZE - Total size of the VTOC in tracks
    • VTOC %US - Percentage of the VTOC DSCBs in use
    • TIME - CPK actual elapsed time in minutes (and tenths if less than 99 minutes). For simulation of Fast COMPAKTion (SIM TYPE=FASTCPK) only, this is a conservative estimate; the actual elapsed time is usually less.
    • COMP CODE - CPK completion on this volume:
      • 0 – Successful COMPAKTion
      • ERROR – An error occurred, look for error messages
      • NO IMPRV – Unable to improve the volume
      • BYPASS – Conditional keywords bypassed volume
      • IN RECVY – FASTCPK previously failed; rerun CPK

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*