Over time, the alert history file can become fragmented. You can reorganize the file to improve its efficiency.
To reorganize the Alert History database for optimum space usage
Use the same attributes that were used when the file was defined at region setup. See the generated S01LCALC member in your INSTALL.JCL data set; this member has the original VSAM definition JCL for the file.
Monitor the amount of disk space used by the data set to estimate the optimal file size and optimal frequency of reorganization.
Example: Back Up Alert History File
This example backs up an alert history file.
//BKALERTH EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //IN DD DSN=?prefix.ALERTH,DISP=SHR //OUT DD SN=?prefix.ALERTH.BACKUP.SEQ,DISP=OLD //SYSIN DD * REPRO INFILE(IN) OUTFILE(OUT) /*
The sequential backup file has the following format:
DSORG=PS,RECFM=VB,LRECL=32756,BLKSIZE=32760
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |