Creating a new index directory data set

Create a new index directory data set and allocate the index directory file.

The Index list panel is displayed the first time the XFind command is invoked or subsequently by specifying the I parameter with the XFind command:

XF I

To create a new index directory data set, complete the following steps:

  1. Enter a new index directory data set name and press Enter. In the following example, the new index directory data set name is HFM.XFIND.INDEX.DIR
      Process                                                                       
     ────────────────────────────────────────────────────────────────────────────── 
     Z Data Tools                      Index List              Enter required field 
     Command ===>                                                       Scroll PAGE 
                                                                                    
     Data set name   HFM.XFIND.INDEX.DIR                                            
     Member pattern                   Jobcard     Reuse                             
       Name     Description                              Date Changed        Size   
     ******************************* Bottom of data ********************************
    
  2. Allocate the index directory file.
      Process                                                                       
     ─ ┌────────────────────────── Allocate data set ──────────────────────────┐ ── 
     F │ Command ===>                                                          │    
     C │                                                                       │ GE 
       │ The data set was not found                                            │    
     D │                                                                       │    
     M │ Data set name   HFM.XFIND.INDEX.DIR                                   │    
       │                                                                       │    
     * │ Change the data set name or                                           │ ***
       │                                                                       │    
       │ Press ENTER to allocate a new data set                                │    
       │                                                                       │    
       │ Press EXIT or CANCEL to return without allocation.                    │    
       │                                                                       │    
       └───────────────────────────────────────────────────────────────────────┘    
    
  3. Press Enter. The new data set is allocated.
Now that the new data set is allocated, you can proceed to create an index member as described in Index definition members.