RECOVER WEEKLY OR MONTHLY HISTORY TAPE
search cancel

RECOVER WEEKLY OR MONTHLY HISTORY TAPE

book

Article ID: 64640

calendar_today

Updated On:

Products

MICS Resource Management

Issue/Introduction

A WEEKLY or MONTHLY History tape is unreadable...for whatever reason.. tape was written over, tape has been damaged, created on a bad drive, etc.

 

Environment

Release:
Component: MICS

Resolution

1. Create a backup copy of the WEEKLY or MONTHLY prefix.CNTL member and  also create a backup copy of #USRMAC in prefix.USER.SOURCE.

2.  Modify #USRMAC in prefix.USER.SOURCE to add the following statements.

To recover a WEEKLY History tape:
%GLOBAL EMERGWH;
%LET EMERGWH = TWO;

To recover a MONTHLY History tape:
%GLOBAL EMERGMH;
%LET EMERGMH = TWO;

This will cause MICS archive history processing to select two cycles of input data from the online data base.

IMPORTANT NOTE: Ensure that these statements are coded after any %INCLUDE statements present in the #USRMAC member.

  1. Modify the WEEKLY or MONTHLY member in prefix.CNTL to use the previous generation(-1) history tape as input.

  2. Restart the modified WEEKLY or MONTHLY in Step 300 to re-create the history tape.

  3. Restore the WEEKLY or MONTHLY and #USRMAC members from the backup copies created earlier and make sure none of the modifications from this procedure exist.

Following this procedure an unreadable generation of WEEKLY or MONTHLY History tape will still exist. You may want to uncatalog this generation to avoid errors/abends when running reports against the history files.

Note: This procedure assumes that you have at least two(2) cycles of data at the WEEKS or MONTHS timespan for all files that are being archived.