
An INFO instruction is used to defin and assign a value to a script variable. It is not an executable instruction and does not affect the package directly.
The syntax for the INFO instruction is INFO("variablename","value")
Instead of assigning a value directly to a task, the value (or part of it) can be replaced with the name of a variable defined in an INFO instruction. At runtime, the task replaces the name of all INFO variables found in all executable instructions with the current value of those variables, before executing the executable instructions.
The following example illustrates how to define a variable with an INFO instruction and how to use it in another instruction such as TASK:
INFO(%FILE%,IMPORT.TXT)
TASK("EVIMPORT","FILENAME", %FILE%)
You can nest one level of INFO variables inside other INFO variables as in the following example:
INFO(%PATH%,"C:\MyDir\")
INFO(%FILE%,%PATH%IMPORT.TXT)
ITASK("EVIMPORT","FILENAME", %FILE%)
All system-generated INFO variables comply with this practice.