Defining and initializing the LICON data set

Define the LICON data set by using the DEFINE cluster command, and initialize it by using the INIT.LICON command of the LICON utility.

Procedure

  1. Define the LICON data set by using the DEFINE CLUSTER command.

    Sample JCL is in the SHPSJCL0 library, member FABLINIT. The following figure shows the DEFLICON step of the sample JCL, which defines the LICON data set.

    Specify the values for the following parameters. For the CYL parameter, specify the size that you calculated in Estimating the size of the LICON data set.

    //DEFLICON EXEC PGM=IDCAMS                 
    //SYSPRINT DD   SYSOUT=*                   
    //SYSIN    DD   *                          
      DELETE  (imshlq.licondsn) CLUSTER ERASE PURGE  
      SET MAXCC=0                              
      DEFINE CLUSTER (NAME(imshlq.licondsn) -        
             INDEXED -                         
             KEY (44 0)  -                     
             SHR(3 3) -                        
             NOREUSE -                         
             VOL (liconvol) -                 
             CYL (pri sec) -       
             RECSZ (4096 32760) -
             FREESPACE (xx xx)) -
             DATA(NAME(imshlq.licondsn.DATA)) -  
             INDEX(NAME(imshlq.licondsn.INDEX))      
    /*
  2. Initialize the LICON data set by using the INIT.LICON command of the LICON utility.

    Sample JCL is in the SHPSJCL0 library, member FABLINIT. The following figure shows the INILICON step of the sample JCL, which initializes the LICON data set.

    Add the load module data sets that contain the global option module and the LIU load module library to the STEPLIB concatenation.

    //INILICON EXEC PGM=FABLIU00 
    //STEPLIB   DD DISP=SHR,DSN=HPS.SHPSLMD0
    //          DD DISP=SHR,DSN=IMSVS.SDFSRESL
    //FABLPRNT  DD SYSOUT=*
    //FABLIN    DD *
      INIT.LICON
    /*