Figure 1 is
the printout from a DEFRAG run for a DASD
volume. It gives an indication of the free space fragmentation before
and after a DEFRAG operation, as well as the distribution of data
set extents by size.
The following JCL was used for this job:
//STEPT010 EXEC PGM=ADRDSSU,PARM='RACFLOG=YES,TRACE=YES'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFRAG DYNAM(D9S060)
/*
Figure 1. Printed
Output Resulting
from a Successful DEFRAG Run on nonEAV:PAGE 0001 5695-DF175 DFSMSDSS V2R10.0 DATA SET SERVICES 1999.211 14:55
DEFRAG -
DYNAM(D9S060)
ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'DEFRAG '
ADR109I (R/I)-RI01 (01), 1999.211 14:55:33 INITIAL SCAN OF USER CONTROL
STATEMENTS COMPLETED.
ADR016I (001)-PRIME(01), RACF LOGGING OPTION IN EFFECT FOR THIS TASK
ADR006I (001)-STEND(01), 1999.211 14:55:33 EXECUTION BEGINS
ADR208I (001)-EANAL(01), 1999.211 14:55:34 BEGINNING STATISTICS ON D9S060:
FREE CYLINDERS 000058
FREE TRACKS 000003
FREE EXTENTS 000002
LARGEST FREE EXTENT (CYL,TRK) 000053,0003
FRAGMENTATION INDEX 0.050
PERCENT FREE SPACE 97
ADR220I (001)-EANAL(01), INTERVAL BEGINS AT CC:HH 00001:0000 AND ENDS AT
CC:HH 00006:000C
ADR209I (001)-EFRAG(01), 1999.211 14:55:34 MOVED EXTENT 001 FROM
00006:0000-00006:0004 TO 00001:0000-00001:0004
FOR PUBSEXMP.ESDS.S01.DATA
ADR209I (001)-EFRAG(01), 1999.211 14:55:34 MOVED EXTENT 001 FROM
00006:0005-00006:0006 TO 00001:0005-00001:0006
FOR PUBSEXMP.KSDS.S01.DATA
ADR209I (001)-EFRAG(01), 1999.211 14:55:35 MOVED EXTENT 001 FROM
00006:0007-00006:0008 TO 00001:0007-00001:0008
FOR PUBSEXMP.SAM.S01
ADR209I (001)-EFRAG(01), 1999.211 14:55:35 MOVED EXTENT 001 FROM
00006:0009-00006:000A TO 00001:0009-00001:000A
FOR PUBSEXMP.PDS.S01
ADR209I (001)-EFRAG(01), 1999.211 14:55:35 MOVED EXTENT 002 FROM
00006:000B-00006:000B TO 00001:000B-00001:000B
FOR PUBSEXMP.PDS.S01
ADR213I (001)-EANAL(01), 1999.211 14:55:35 ENDING STATISTICS ON D9S060:
DATA SET EXTENTS RELOCATED 000005
TRACKS RELOCATED 000012
FREE CYLINDERS 000058
FREE TRACKS 000003
FREE EXTENTS 000001
LARGEST FREE EXTENT (CYL,TRK) 000058,0003
FRAGMENTATION INDEX 0.000
PAGE 0002 5695-DF175 DFSMSDSS V2R10.0 DATA SET SERVICES 1999.211 14:55
ADR212I (001)-EANAL(01), EXTENT DISTRIBUTION MAP FOR D9S060:
EXTENT *FREE SPACE BEFORE* *FREE SPACE AFTER* *ALLOCATED *
SIZE
IN NO. CUM. NO. CUM. NO. CUM.
TRACKS EXTS PCT/100 EXTS PCT/100 EXTS PCT/100
1 4 0.148
2 4 0.444
5 1 0.629
10 1 1.000
75 1 0.085
>499 1 1.000 1 1.000
ADR006I (001)-STEND(02), 1999.211 14:55:35 EXECUTION ENDS
ADR013I (001)-CLTSK(01), 1999.211 14:55:35 TASK COMPLETED WITH RETURN CODE 0000
ADR012I (SCH)-DSSU (01), 1999.211 14:55:35 DFSMSDSS PROCESSING COMPLETE. HIGHEST
RETURN CODE IS 0000
Note: The
following section of the printed
output resulting from a successful DEFRAG run changes for EAV to include
two columns: first column refers to the entire volume, the second
column refers to the cylinder-managed space, as follows:
Figure 2. A Section of the Printed Output
Resulting
from a Successful DEFRAG Run on EAV:ADR213I (001)-DFANL(01), 2007.226 12:50:17 ENDING STATISTICS ON C9NS05:
*STATISTICS* *VOLUME* *TRKAREA*
DATA SET EXTENTS RELOCATED 00000037 00000033
TRACKS RELOCATED 00003212 00001007
FREE CYLINDERS 00086950 00065236
FREE TRACKS 00000022 00000022
FREE EXTENTS 00000005 00000004
LARGEST FREE EXTENT (CYL,TRK) 00063426.03 00063426.03
FRAGMENTATION INDEX 0.050 0.010
The value in the first column of message ADR212I is
the size of
the extent in tracks (free space or data set) and is printed only
if an extent of that size occurs. The second and third columns show
the number of free space extents existing before processing
that were of the size shown in the first column, along with their
cumulative percentage divided by 100. The fourth and fifth columns
give the same information for free space, but after processing.
The sixth and seventh columns give the distribution of allocated data
set extents, which do not change during a run.