Creating a site default table

Do the following steps to create a site default table.

Procedure

  1. To create a site default table, specify the following keywords with the GLOBAL command, and other necessary commands, subcommands, and keywords to define the site default values for the keywords.
    • SCAN=SITE_CREATE
    • SITE_DSNAME='dsname'
    • SITE_MEMBER=member
    You can create a site default table only by adding these keywords to the active JCL to run. You can also specify multiple commands in the control statement. When multiple subcommands are specified, the last subcommand is used.
    Notes:
    • Multiple commands can be specified in the HFPSYSIN DD for SCAN=SITE_CREATE.
    • When the values are the same as the system default values, they are not used and '*' is shown for the keyword in the Site and System Default report.
  2. Run the JCL.
    The site default table is created into the specified partition data set.

Example

The following figure shows example JCL statement to create a site default table.

Figure 1. Creating a site default table (Part 1 of 2)
//**************************************************
//**  PREPARE: DEL/DEF SITE DEFAULT TABLE DATASET **
//**************************************************
//DELDS1   EXEC PGM=IDCAMS                                             
//SYSPRINT DD   SYSOUT=*                                               
//SYSIN    DD   *
   DELETE  ( HPFP.SITEDEF ) NONVSAM PURGE                              
/*                                                                     
//*                                                                    
//ALLOC    EXEC PGM=IEFBR14                                            
//SITE     DD  UNIT=SYSDA,DISP=(NEW,CATLG,CATLG),        
//             SPACE=(TRK,(10,1,10)),                                  
//             DCB=(RECFM=FB,LRECL=4096,BLKSIZE=4096),                 
//             DSN=HPFP.SITEDEF
//*                                                                    
//*********************************** 
//** CREATE SITE DEFAULT TABLE     ** 
//***********************************
//CREATE   EXEC PGM=HFPMAIN0 
//* 
//STEPLIB  DD DISP=SHR,DSN=HPFP.SHFPLMD0
//         DD DISP=SHR,DSN=IMSVS.SDFSRESL 
//IMSACB   DD DISP=SHR,DSN=IMSVS.ACBLIB 
//HFPPRINT DD SYSOUT=A 
//HFPRPTS  DD SYSOUT=A 
//* 
//HFPSYSIN DD *
  GLOBAL                                               
      SCAN=SITE_CREATE,                                
      SITE_DSNAME='HPFP.SITEDEF',
      SITE_MEMBER=SITEAL
  ANALYZE                                              
      CISNAP=YES,                                      
      ICACHE=NO,                                       
      PTRCHKLVL=FULL,                                  
      SDEP_ORPHAN_MSGLVL=WARNING,                      
      SDEPCHKLVL=FULL,                                 
      DBD=IVPDB3 
  CHANGE                                               
      CISNAP=NO,                                       
      ICACHE=NO,                                       
      KEYCHGCHK=NO,                                    
      KEYSEQCHK=ABEND,                                 
      OCACHE=NO,                                       
      PAD=X'FF',                                      
      PTRCHK=BYPASS,                                  
      PTRCHKLVL=FULL,                                 
      SDEP_ORPHAN_MSGLVL=WARNING,                     
      SDEPCHKLVL=NONE,                                
      SSP=NO,                                         
      DBD=IVPDB3 
Figure 2. Creating a site default table (Part 2 of 2)
    ALLOCATE                                          
      VOLSER=(EASY02),                                
      SPACE=(TRK,15),                                 
      AVGREC=K                                        
    LOADCTL                                           
      SEGMENT=DD1,                                    
      INSERT_LIMIT_COUNT=5,                           
      LOCATION=DOVF                                   
  RELOAD                                              
      CISNAP=YES,                                     
      KEYCHGCHK=YES,                                  
      KEYSEQCHK=ABEND,                           
      OCACHE=NO,                                 
      PTRCHKLVL=FULL,                            
      SDEP_ORPHAN_MSGLVL=WARNING,                
      SDEPCHKLVL=FULL,                           
      SORT=YES,                                  
      SSP=YES,                                   
      DBD=IVPDB3 
    ALLOCATE                                     
      VOLSER=(EASY02),                           
      SPACE=(TRK,15),                            
      AVGREC=B                                   
    LOADCTL                                      
      SEGMENT=DD1,                               
      INSERT_LIMIT_COUNT=0,                      
      LOCATION=DOVF                              
  UNLOAD                                         
      AREA_INFORMATION_RECORD=YES,               
      COMPRESS=YES,                              
      FORMAT=TFMT,                               
      ICACHE=NO,                                 
      KEYCHGCHK=NO,                              
      KEYSEQCHK=ABEND,                           
      PAD=X'FF',              
      PTRCHK=BYPASS,          
      SORT=NO,                
      SSP=NO,                 
      DBD=IVPDB3 
    FILECTL                   
      DDNAME=OAREA001,        
      OAREA=ALL,              
      AVGREC=K                
/* 
//*