z/OS DFSMS Using the Interactive Storage Management Facility
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Defragmenting a DASD Volume

z/OS DFSMS Using the Interactive Storage Management Facility
SC23-6856-00

This example shows how to use the DEFRAG line operator to reduce the free space fragmentation of a DASD volume.

  1. Enter the DEFRAG line operator in the line operator column next to the item in the DASD volume list that you are interested in, as shown in Figure 1.
    Figure 1. Defragmenting a Volume
       Panel  List  Utilities  Scroll  Help
     --------------------------------------------------------------------------------
                                             VOLUME LIST
     Command ===>                                                  Scroll ===> PAGE
                                                             Entries 1-10 of 10
     Enter Line Operators below:                             Data Columns 3-8 of 43
    
    
        LINE        VOLUME  FREE       %     ALLOC       FRAG   LARGEST    FREE
        OPERATOR    SERIAL  SPACE      FREE  SPACE       INDEX  EXTENT     EXTENTS
        ---(1)----  -(2)--  ---(3)---  -(4)  ---(5)---   -(6)-  ---(7)---  --(8)--
        defrag      HSM920    644498K    23   2127002K     356     82174K       31
                    HSM921    752513K    27   2018987K     264    501122K      263
                    HSM922    825336K    30   1946164K     230    406996K       38
                    HSM923    735581K    27   2035919K     207    436158K       45
                    HSM924    860861K    31   1910639K     191    555241K       35
                    HSM925    827604K    30   1943896K     115    659051K       28
                    USER00    288300K    10   2483200K      28    277344K       27
                    USER01    819415K    30   1952085K     307    297984K       51
                    1P0302    835241K    30   1936259K     178    540355K       39
                    1P0303    791913K    29   1979587K     290    298593K       43
                  
  2. Press the ENTER key. ISMF displays the DEFRAG Entry Panel as shown in Figure 2.
    Figure 2. Completing the DEFRAG Entry Panel
      Panel  Utilities  Scroll  Help                                              
    ------------------------------------------------------------------------------
                                   DEFRAG ENTRY PANEL                  Page 1 of 2
    Command ===>                                                                  
                                                                                  
    Optionally Specify One or More for Volume: USER01                             
                                                                                  
      To Control Obtaining Access to Volume, Specify:                             
        Maximum Number of Retries . . . . . . 2     (0 to 99)                     
        Number of Seconds Between Retries . . 2     (0 to 255)                    
        Password Dsn  . .                                                         
      To Conditionally Perform Defrag, Specify:                                   
        Minimum Fragmentation Index  . . .      (0 to 999)                        
                                                                                  
      Debug(FRmsg) . . . . . . . . .    (M=Min, S=Sum, D=Detailed or blank)       
        Trace  . . . . . . . . . . .    (Y or N)                                  
      Fastreplicate  . . . . . . . .    (R=Required, P=Preferred, N=None or blank)
      No of Free Tracks Required in a Contiguous Area            (1 to 999999)    
      % of Free Tracks Required in a Contiguous Area . .         (1 to 99)        
      No of Passes to Assemble the Above Tracks  . . . . 1       (1 to 99)        
      Time Delay between the Passes  . . . . . . . . . . 999     (0 to 9999)      
      Process Checkpointed Data Sets . . . . . . . . . .         (0-255,or Blank) 
    Use ENTER to Perform DEFRAG;Use DOWN Command to View next Panel;              
    Use HELP Command for Help; Use END Command to Exit.                           

    Complete the DEFRAG Entry Panel with the values shown.

  3. Press the ENTER key. ISMF submits the job and redisplays the list, as shown in Figure 3. The asterisk next to the DEFRAG line operator in the line operator column indicates that the operation has completed successfully.
    Figure 3. Successful Submission of the DEFRAG Line Operator
       Panel  List  Utilities  Scroll  Help
     --------------------------------------------------------------------------------
                                             VOLUME LIST
     Command ===>                                                  Scroll ===> PAGE
                                                             Entries 1-10 of 10
     Enter Line Operators below:                             Data Columns 3-8 of 43
    
    
        LINE        VOLUME  FREE       %     ALLOC       FRAG   LARGEST    FREE
        OPERATOR    SERIAL  SPACE      FREE  SPACE       INDEX  EXTENT     EXTENTS
        ---(1)----  -(2)--  ---(3)---  -(4)  ---(5)---   -(6)-  ---(7)---  --(8)--
        *DEFRAG     HSM920    644498K    23   2127002K     356     82174K       31
                    HSM921    752513K    27   2018987K     264    501122K      263
                    HSM922    825336K    30   1946164K     230    406996K       38
                    HSM923    735581K    27   2035919K     207    436158K       45
                    HSM924    860861K    31   1910639K     191    555241K       35
                    HSM925    827604K    30   1943896K     115    659051K       28
                    USER00    288300K    10   2483200K      28    277344K       27
                    USER01    819415K    30   1952085K     307    297984K       51
                    1P0302    835241K    30   1936259K     178    540355K       39
                    1P0303    791913K    29   1979587K     290    298593K       43
                  

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014