Constants Brick

A Constants brick allows you to create named constants that are available for use by any of the other bricks in your control script.

The syntax for referencing constants looks like this:

$(<constantsBrickName>.<constant>)

The following is a Windows example of a Constants brick called consts:
consts : Constants
	data_dir = C:\Endeca\Data

To reference the data_dir constant defined above, you would use the following:

$(consts.data_dir)

For example:
dg01 : Dgraph
	input = $(consts.data_dir)\indexed