Previous Topic

Next Topic

Book Contents

Book Index

Variable Expressions

In addition to simple resource string variables EnterpriseSCHEDULE supports a rich set of variable expressions that feature simple and complex math expressions, date expressions and character expressions. This extends the power of variables and allows for run time calculation of dates and other values.

Variable expressions are evaluated in an order and priority similar to common math expressions and support the use of parentheses. The expression is evaluated during a job submission when the job references the variable.

Note: All Expressions described in this section may be inserted directly in a command list using the preprocessor syntax of enclose double quotes. For example anywhere the expression (( "NOW" + 12 DAYS )) is placed in a command list will be evaluated to the current time plus 12 days when the job is submitted. See Job command preprocessing for more on preprocessor directives.

In This Section

Creating a Variable Expression

Evaluating Projected Date Values

Variable Expression Basic Structure

Using Date Expressions

Formatting variables

Using Strings Expressions in Variables

See Also

Using Variables in EnterpriseSCHEDULE

String Variables

Temporary Variables

Date Variable Example

Variable Formatting Strings