TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


setpermanentexpirydatevalue

SetPermanentExpiryDateValue

Set the date that is to be considered as permanent.

Phase

This instruction is used by the TapeTrack Synchronization Engine.

Syntax

SetPermanentExpiryDateValue (date);

string date;

date The date that should be considered permanent.

Example

Set the permanent date to 1971-01-01

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

# Set the EXPIRYDATE format.
SeExpiryDateFormat("%%d/%%m/%%Y");

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

# Set the permanent date to 1971-01-01.
SetPermanentExpiryDateValue ("1971-01-01");
setpermanentexpirydatevalue.txt · Last modified: 2024/01/05 00:24 by scunliffe