CICS File Availability 24/7 Tool
CICS File Availability 24/7 (CFA)
CFA provides VSAM file reorganization while the file is open to CICS. A small service window reduces the time VSAM files are not available to CICS, providing virtually 24/7 File Availability.
The problem with traditional VSAM file reorganization.
With traditional VSAM file reorganization, the file must be closed to online access before the reorganization process begins to ensure the new file content matches the original.
If the reorganization is for a large file, this process can take a while - several minutes to hours. Not until the copy, delete, define and repro is complete can the file be re-opened - all time the file is unavailable for use.
How CICS File Availability 24/7 solves the problem
CFA is able to create a copy of the existing VSAM file while keeping the file open and fully available for updates in CICS. After the copy is complete, any changes made to the existing VSAM file during the copy process are applied to the new VSAM file using the CICS forward recovery log data set. After updates are applied, the existing VSAM file is then closed which opens the service window.
While the service window is open, a CICS file exit is used to temporarily suspend any transactions attempting to use the file. A second pass through the CICS forward recovery log data set is made to ensure the existing and new VSAM files are identical. The existing file is then renamed with a predefined “old” suffix and the new reorganized file to the existing VSAM file name. After the rename, the reorganized VSAM file is opened, the CICS file exit disabled and any suspended transaction released, thus closing the service window.
This small service window is usually seconds … not minutes or hours!
Does CICS File Availability 24/7 work with RLS VSAM files
CFA uses a similar process with RLS files, except RLS files must be QUIESCED and closed during the service window rename process. After the rename is complete, RLS files are UNQUIESCED and then opened.
What if the VSAM file uses associations (Path or Alternate Index)
New associations are defined and created for the new VSAM file as part of the copy process.
For additional information on how CICS File Availability 24/7 can help you