Last Wrap         (Recovery)

DESCRIPTION
"Last Wrap" indicates the last time the recovery file became totally full.


VALUES
If a wrap has not occurred, "Last Wrap" displays 'No Wrap'. When a wrap occurs,
this datapoint displays the "Last Wrap" in the following format: hh:mm:ss. This
datapoint is blank when recovery is not active.


INTERPRETATION
The recovery file is implemented as a circular file.  When the file is full, it
means records can no longer be written to the file because the tail has caught 
up with the head of the file. In this case, a transaction must be rolled back 
to free up the recovery file for further processing. When this happens, "Last 
Wrap" changes to display the exact time when the wrap occurs. Once the rollback 
occurs, records are again written to the recovery file.


CONCLUSIONS
"Last Wrap" must be viewed continuously (and compared to the current time) to 
catch multiple wraps. When such a condition persists, only two possible issues
can be addressed. 

First, the recovery file may be too small. The "Size" may be adjusted in the 
Sun MTP VSAM Configuration Table (VCT). This is usually the case when initially 
staging an application with the Sun MTP system. Use the "Last Wrap" in 
conjunction with the "% Used" datapoint to quickly find the optimum recovery 
file "Size".

The only other cause of multiple wraps would be too much abnormal activity from
the application programs. Analysis of the programs that were aborted may point
out deficiencies in the logic to synchronize their database(s). 
