{"id":55,"date":"2018-03-16T19:16:58","date_gmt":"2018-03-16T19:16:58","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?p=55"},"modified":"2018-04-02T17:57:42","modified_gmt":"2018-04-02T17:57:42","slug":"history-for-string-variable-changes","status":"publish","type":"post","link":"https:\/\/cyflex.com\/index.php\/history-for-string-variable-changes\/","title":{"rendered":"History for string variable changes"},"content":{"rendered":"<p>In CyFlex versions 6.0.5 and newer, the \u201chistory flag\u201d (ON\/OFF) that appears in many specification files is no longer used. Instead, the \u201cdelta_hst\u201d application assumes that almost all variables are active (history flag = ON ). This is the case for REAL, INTEGER, and LOGICAL variables, but not for STRING variables.<\/p>\n<p>STRING variables are saved in an entirely different manner than the others. The history of string variables is saved in the \/data\/compressed\/extracted\/ directory. The file names are in the form of YYMMDD.&lt;label&gt; and are readable text. For the history of changes to string variables to be saved, the history flag must be set to ON in the spec file where the variable is created. This might be in a \u201cgen_labels\u201d file or in \/cyflex\/display_strings. We ask you to not modify the display_strings file, so if you wish to set one of the included parameters ON, copy that line from \/cyflex\/display_strings to the \/cell\/site_special file and change that flag to ON. You can do a \u201cgo\u201d or just type \u201csys_start\u201d and it will update the information in \/cell\/site_special.<br \/>\nAvoid setting the history flag on for a string variable that is being updated at a high rate, since it will result in a lot of disk activity.<\/p>\n<p>There is usually a \u201ccleanup\u201d operation specified in \/specs\/usercron that determines how long the string history files are retained. You can get a quick look at this by typing \u201ccrontab \u2013l\u201d or by editing the usercron spec file. Most cells save the files for 14 days.<\/p>\n<p>The \u201cdelta_hst\u201d application does not attempt to save the contents of PROPERTY, COMPOSITION, STATISTICAL or EMISSION variables.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In CyFlex versions 6.0.5 and newer, the \u201chistory flag\u201d (ON\/OFF) that appears in many specification files is no longer used. Instead, the \u201cdelta_hst\u201d application assumes that almost all variables are active (history flag = ON ). This is the case for REAL, INTEGER, and LOGICAL variables, but not for STRING variables. STRING variables are saved [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":63,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[16],"class_list":["post-55","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-did-you-know","tag-variables"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media\/63"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}