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/10/19 00:39] Scott Cunliffeengine: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>
 +
  
 Set the date that is to be considered as permanent. Set the date that is to be considered as permanent.
Line 9: Line 14:
 ==== Syntax ==== ==== Syntax ====
  
-**SetPermanentDateValue**(//date//);+**SetPermanentMoveDateValue**(//date//);
  
 string //date;//\\ string //date;//\\
Line 17: Line 22:
 ==== Example ==== ==== Example ====
  
-<sxh> +Set the permanent date to 1971-01-01 
-#+ 
 +<code>
 # #
 +# 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");
  
-|Extract(MOVEDATE, 10, 10, 0);| Extract the MOVEDATE from offset 10, length 10 of the report body.| +</code
-|<nowiki>SetMoveDateFormat("%%d/%%m/%%Y");</nowiki>| Set the MOVEDATE format.| +
-|AddTranslation(MOVEDATE, "PERMANENT", "01-01-1971")| Translate the MOVEDATE date to 1971-01-01.| +
-|SetPermanentDateValue("1971-01-01");| Set the permanent date to 1971-01-01.|+
engine/sync/setpermanentdatevalue.1539909545.txt.gz · Last modified: 2025/01/21 22:07 (external edit)