Returns runtime variables. These are variables that are passed into DataFlux Data Management Studio on the command line using -VAR or -VARFILE.
Category: | Macro Variable |
Returned data type: | String |
GETVAR(string1<, string2>)
string1
the first parameter is the name of the variable and is not case sensitive. The second parameter is the value that is returned if the variable does not exist
string2
specifies the value that is returned if the variable does not exist
testInParam=getvar("DF_String_Input")
File f
f.open("%%DataFlowTargets%%DF_String_Input.txt", "w")
f.writeline("DF_String_Input = "&testInParam)
seteof()
f.close()