We want to code up one ACFFDR with symbolics used in the ACF2 database names. In that way the different LPARS will have different databases without having to use multiple ACFFDR definitions for each LPAR. Can this be done?

Document ID : KB000018469
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Yes, symbolics are allowed in the ACFFDR. The symbolic name does not get resolved till allocate time in z/OS.

Solution:

z/OS allows symbolics to be used in certain instances. They are allowed in the ACFFDR. You can code up the database names with the symbolic &SYSNAME or any other relevant system symbolic. For example, your ACF2 usermod UM99901 might look like:


++SRCUPD (ACFFDR)   DISTLIB(AAX1SRC) .                          
./ CHANGE NAME=ACFFDR                                           
        @CSVC  ALTER=222,VALD=221                              
        @DDSN PRIMARY,                   ** DEFAULT GROUP NDX  
              RULE='SYS1.&SYSNAME..RULES',     ** RULES CLUSTER      
              LID='SYS1.&SYSNAME..LOGONIDS',   ** LOGONID CLUSTER    
              INFO='SYS1.&SYSNAME..INFOSTG',   ** GEN RESOURCE CLSTR 
              BRULE='SYS1.&SYSNAME..BKRULES',  ** RULES BACKUP       
              BLID='SYS1.&SYSNAME..BKLIDS',    ** LOGONIDS BACKUP    
              BINFO='SYS1.&SYSNAME..BKINFO'    ** RESOURCE BACKUP   

Then at allocation time, either during the IPL, or a restart of ACF2, the &SYSNAME will be resolved by z/OS. After the change, your SHOW command will show the actual name in use, and the symbolic in the ACFFDR part of the command output.


SHOW DDSN
 
-- ACF2 DYNAMIC DATASET NAMES SPECIFIED --           
DDSNS PRIMARY DEFAULTED AT STARTUP. DSNS IN USE ARE: 
        RULES= SYS1.XTST.RULES                      
        LOGONIDS= SYS1.XTST.LOGONIDS                
        INFOSTG= SYS1.XTST.INFOSTG                  
        BACKRULE= SYS1.XTST.BKRULES                 
        BACKLID= SYS1.XTST.BKLIDS                   
        BACKINFO= SYS1.XTST.BKINFO                  
                                                    
DDSN LISTS DEFINED IN FDR ARE:                       
PRIMARY  RULES= SYS1.&SYSNAME..RULES                 
        LOGONIDS= SYS1.&SYSNAME..LOGONIDS           
        INFOSTG= SYS1.&SYSNAME..INFOSTG             
        BACKRULE= SYS1.&SYSNAME..BKRULES            
        BACKLID= SYS1.&SYSNAME..BKLIDS              
        BACKINFO= SYS1.&SYSNAME..BKINFO

Normal standards apply to the datasets in regards to the ACF2 databases. The databases should be on a separate dasd volume then what volume that ACF2 is cataloged in. We also recommend that the databases be in their own catalog.