TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:setpermanentdatevalue

SetPermanentDateValue

SetPermanentDateValue has been deprecated. The following information is for legacy installations only.

See SetPermanentMoveDateValue and SetPermanentExpiryDateValue

Set the date that is to be considered as permanent.

Phase

This instruction is used by the TapeTrack Synchronization Engine.

Syntax

SetPermanentMoveDateValue(date);

string date;

date The date that should be considered permanent.

Example

Set the permanent date to 1971-01-01

#
# Extract the MOVEDATE from offset 10, length 10 of the report body.
Extract(MOVEDATE, 10, 10, 0); 

# Set the MOVEDATE format.
SetMoveDateFormat("%%d/%%m/%%Y");

# Translate the MOVEDATE date to 1971-01-01.
AddTranslation(MOVEDATE, "PERMANENT", "01-01-1971") 

# Set the permanent date to 1971-01-01.
SetPermanentMoveDateValue("1971-01-01");
engine/sync/setpermanentdatevalue.txt · Last modified: 2024/01/10 00:12 by scunliffe