This is an old revision of the document!
Table of Contents
AddSkipOnRepositoryChange
Skip the update of a Volume if the Current or Target Repository is equal to a filter value.
Phase
This instruction is used by the TapeTrack Synchronization Engine.
Syntax
AddSkipOnRepositoryChange(proposed, target, current);
string proposed;
string target;
string current;
| proposed | Filter value representing the proposed change to the Target Repository. |
| target | Filter value representing the current Target Repository value. |
| current | Filter value representing the current Current Repository Value |
Example
Skip an update if the proposed change is HOLD and the current target repository is LIBR.
<sxh text;> # # Skip an update if the proposed change is HOLD, the target Repository is LIBR and the current is any. # AddSkipOnRepositoryChange(“HOLD”, “LIBR”, “*”); </sxh>
Skip an update if the proposed change is HOLD, the target Repository is LIBR and the current Repository is OFFS, LEGL or DEST.
<sxh text;> # # Skip an update if the proposed change is HOLD, the target Repository is LIBR and # the current is OFFS, LEGL or DEST. # AddSkipOnRepositoryChange(“HOLD”, “LIBR”, “*(OFFS|LEGL|DEST)”); </sxh>
Skip any update that attempts to move a Volume out of Current Repository DEST.
<sxh text;> # # Skip an update if the proposed change is any, the target Repository is any and the current is DEST. # AddSkipOnRepositoryChange(“*”, “*”, “DEST”); </sxh>
