Sets the Data Job macro variable value, indicated by the first parameter, to the values in the second parameter.
specifies the name of the Data Job macro variable to set; this can be specified as a string.
specifies the value to set to macroname; this value can have a data type of real, integer, string, date, or Boolean.
string macroName macroName = "myMacro" newValue = 10 success=setvar(macroName, newValue)