You can use several procedures and commands to maintain the RECON data sets. Backing Up the RECON Data SetsSet up operational procedures to ensure that regular backups of the RECON data sets are taken using the DBRC BACKUP.RECON command. The BACKUP.RECON command includes a reserve mechanism to ensure that no updating of the RECON data sets takes place during the backup. If possible, take the backup when no IMS systems are active. The backup copy is created from the copy1 RECON data set. The command to create the backup copy invokes the AMS REPRO command, with its normal defaults and restrictions. For instance, the data set that is receiving the backup copy must be empty. Deleting Inactive Log Records from the RECON Data SetsWhen DBRC becomes aware that an image copy has been taken of a database data set (DBDS), DBRC automatically deletes, reuses, or updates the records in the RECON that are associated with that particular DBDS. After this automatic processing, certain log records are considered inactive, but are not deleted from the RECON. A log is considered inactive when the following conditions are all true:
The only recovery-related records in the RECON that are not automatically deleted are the log records (for example, the PRILOG and LOGALL records). You can delete these records using the DELETE.LOG INACTIVE command. You can also add the DELETE.LOG INACTIVE command to the job that takes a backup of the RECON data sets. Monitoring the RECON Data SetsIn addition to the regular backups, you should monitor the status of the individual RECON data sets on a regular basis. There are two ways to do this: using the LIST.RECON STATUS command and using the DBRC API Query request. Monitoring the RECON Data Sets Using the LIST.RECON STATUS CommandUse the LIST.RECON STATUS command regularly to monitor the status of the individual RECON data sets. The LIST.RECON command produces a formatted display of the contents of RECON data sets. The copy1 RECON data set is used as a source. DBRC ensures that the second RECON data set contains the same information as the first RECON data set. You can use the optional STATUS parameter to request the RECON header record information and the status of all RECON data sets. The use of this parameter suppresses the listing of the other records. Issue a LIST.RECON STATUS command two or three times a day during the execution of an online system to ensure that problems have not been encountered with these data sets. Monitoring the RECON Data Sets Using the DBRC API Query RequestUse the DBRC API Query request (DSPAPI FUNC=QUERY) along with the TYPE parameter to retrieve the following types of information from the RECON data sets:
|