9 Replies Latest reply: Nov 21, 2014 10:51 AM by Joseph Simmons RSS

    Variable Evaluation on File Load

    Brian Garland

      I know I've seen this addressed before but I can't find the discussion(s).

       

      When loading variables from a file during script load, how do you keep embedded variables from being evaluated?

       

      For example (off the top of my head, so maybe not a great example):

       

      <Variables.txt>

      SET vEndDate = "=Max(Order_Date)";

      SET vEndMonth = "=Month($(vEndDate))";

       

      After the variable file is read into the script during load, vEndMonth is doesn't give me 'Sep', for example, it just contains the literal string =Month($(vEndDate).