The variable is a way to define a common value for a few data generation rules. In most cases, variables can be used in Custom Data generators only. Please refer to Pattern Engine Manual for details.
Also, the variable can be used as a part of output file name.

This window helps the user to create, modify and remove variables:

DTM Flat File Generator: project level variables