SETVAR
The SETVAR tag defines variables for use in the HCHL file. The variables created through SETVAR have global scope. Variables are named storage locations capable of containing a certain type of data, such as a numerical value or string of text used in the program that can be modified during program execution. These variables can be used directly by a tag or a script that follows the variable definition. They can also be used by files that are called through the INCLUDE tag. Contrary to the other BMC Software tags, the SETVAR tag does not produce any direct output.
Start Tag | required |
End Tag | forbidden |
Syntax | <SETVAR name='variable name' value='value of variable> |
Mandatory Parameters
The name parameter defines the name of the variable. | |
The value parameter is an expression. |
Optional Additional Parameters
There are no optional parameters for this tag.