Merge Cleanup for ACF2 tracking files with a shared ACF2 database
search cancel

Merge Cleanup for ACF2 tracking files with a shared ACF2 database

book

Article ID: 17935

calendar_today

Updated On:

Products

Cleanup

Issue/Introduction

There are three LPARS that share the same ACF2 security database. When Cleanup for ACF2 was first set up, there was a tracking file on each LPAR. It is recommended to use one shared tracking file. The use of two tracking files is supported, but not common because of the additional overhead. How do you merge the three tracking files into one and use that one for all three LPARS?

Resolution

Create a 'composite' DB file by concatenating the current tracking files in IEBGENER SYSUT1. The resulting composite SYSUT2 file should then be updated via the ***#DBU program. The result should be a new 'merged' DB file that can be used moving forward. Here is a sample:

//jobcard                                                        
//STEP1   EXEC PGM=IEBGENER                                             
//SYSPRINT DD SYSOUT=*                                                  
//SYSUT1   DD DSN=CLEANUP.LPAR1.TRACKING.FILE,DISP=SHR                  
//               DD DSN=CLEANUP.LPAR2.TRACKING.FILE,DISP=SHR            
//               DD DSN=CLEANUP.LPAR3.TRACKING.FILE,DISP=SHR            
//SYSUT2   DD DD DSN=CLEANUP.ALLLPAR.TRACKING.FILE,                     
//       UNIT=SYSDA,DISP=(NEW,CATLG,DELETE),                            
//       DCB=(RECFM=VB,LRECL=584,BLKSIZE=27998),                        
//       STORCLAS=xxxxxxxx,                                             
//       SPACE=(CYL,(nn,nn))                                            
//SYSIN    DD DUMMY                                                     
//