TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:setpermanentdatevalue

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
engine:sync:setpermanentdatevalue [2018/08/14 18:21] – [Example] dcummingengine:sync:setpermanentdatevalue [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-setpermanentdatevalue+===== SetPermanentDateValue ===== 
 + 
 +<note important>SetPermanentDateValue has been deprecated. The following information is for legacy installations only. 
 + 
 +See [[engine:sync:setpermanentmovedatevalue|SetPermanentMoveDateValue]] and [[:setpermanentexpirydatevalue|SetPermanentExpiryDateValue]]</note> 
  
-==== SetPermanentDateValue ==== 
 Set the date that is to be considered as permanent. Set the date that is to be considered as permanent.
  
 ==== Phase ==== ==== Phase ====
 +
 This instruction is used by the TapeTrack Synchronization Engine. This instruction is used by the TapeTrack Synchronization Engine.
  
 ==== Syntax ==== ==== Syntax ====
-**SetPermanentDateValue**//(date);// 
  
-//string date;//\\+**SetPermanentMoveDateValue**(//date//); 
 + 
 +string //date;//\\
  
 |date| The date that should be considered permanent.| |date| The date that should be considered permanent.|
  
 ==== Example ==== ==== Example ====
-**SetPermanentDateValue: Set the permanent date to 1971-01-01** + 
-|Extract(MOVEDATE, 10, 10, 0);| Extract the MOVEDATE from offset 10, length 10 of the report body.| +Set the permanent date to 1971-01-01 
-|SetMoveDateFormat("%%d/%%m/%%Y");| Set the MOVEDATE format.| + 
-|AddTranslation(MOVEDATE, "PERMANENT", "01-01-1971")| Translate the MOVEDATE date to 1971-01-01.| +<code> 
-|SetPermanentDateValue("1971-01-01");| 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"); 
 + 
 +</code> 
engine/sync/setpermanentdatevalue.1534270915.txt.gz · Last modified: 2025/01/21 22:07 (external edit)