Allocating PSINDEX VSAM KSDS data sets

Allocate a VSAM KSDS data set for each partition of the PSINDEX by using the IDCAMS DEFINE statement.

The following parameters are required when allocating the data sets for the PSINDEX partitions:
  • KEY values
  • RECORDSIZE values
  • INDEXED
  • REUSE

The output of the DBDGEN utility is useful when you allocate secondary index data sets. The output for the secondary index lists the required parameters for the IDCAMS definition under RECOMMENDED VSAM DEFINE CLUSTER PARAMETERS. The following example shows IDCAMS DEFINE statements to allocate a secondary index data set.

   DEFINE CLUSTER(                    - 
      NAME(JOUKO3.HALDB.DB.PEOSKSI.A00001) - 
      INDEXED                         -      
      RECORDSIZE(86 86)               -      
      CYL(20 5)                       -      
      SHAREOPTIONS(3 3)               -      
      REUSE                           -      
      KEY(29,50)                      -      
      FREESPACE(10,10)                -      
      CONTROLINTERVALSIZE(4096)       -      
      VOLUMES(TOTIMN)                 - 
   )