{"id":3809,"date":"2019-02-12T16:09:57","date_gmt":"2019-02-12T16:09:57","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/19-variables-and-computations\/override_status\/"},"modified":"2025-10-07T10:53:58","modified_gmt":"2025-10-07T15:53:58","slug":"override_status","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/2-variables-and-computations\/override_status\/","title":{"rendered":"override_status"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Check the override status of a specified variable in CyFlex, outputting &#8216;On&#8217; if active or &#8216;Off&#8217; if not and returns 0 for success or 1 for error.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>override_status<\/strong> &lt;variable_label&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>variable_label<\/p>\n<\/td>\n<td>\n<p>Specify the variable label to check.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>override_status<\/strong> my_var<br \/>\nThe above command prints &#8216;On&#8217; if the &#8220;override_active&#8221; member of the variable is TRUE and returns a 0.<\/p>\n<p>If the &#8220;override_active&#8221; member of the variable is FALSE, then it prints &#8216;Off&#8217; and returns a 0.<\/p>\n<p>If the variable cannot be found or CyFlex is not running, then it returns a 1.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Overrides are only supported for REAL, INTEGER, LOGICAL, and STRING variable types.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/index.php\/usage-help-manual\/2-variables-and-computations\/sovr\/\">sovr<\/a>, <a href=\"\/index.php\/usage-help-manual\/2-variables-and-computations\/svar\/\">svar<\/a>, <a href=\"\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/gvar\/\">gvar<\/a>, <a href=\"\/index.php\/usage-help-manual\/2-variables-and-computations\/override_mon\/\">override_mon<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Check the override status of a specified variable in CyFlex, outputting &#8216;On&#8217; if active or &#8216;Off&#8217; if not and returns 0 for success or 1 for error. Enter: override_status &lt;variable_label&gt; Where: variable_label Specify the variable label to check. Example: override_status my_var The above command prints &#8216;On&#8217; if the &#8220;override_active&#8221; member of the variable is [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1966,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3809","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"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=3809"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3809\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1966"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}