IBM Books

Net.Data Reference

Variable Reference

Purpose:

Returns the value of a previously defined variable and is specified with $ and (). For example: if VAR = 'abc', $(VAR) returns the value 'abc'. Variable references are evaluated during run time. When a variable is defined for an EXEC statement or block, Net.Data runs the specified action when it reads the variable reference.

The variable that is referenced must be defined in the Net.Data macro before being referenced. If the variable is not defined, an empty string is returned.

Syntax:

>>---$--(--variable_name--)------------------------------------><
 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]