DEFINE Directive
The DEFINE directive defines a compiler constant.
>> DEFINE ConstantName AS ConstantValue [OVERRIDE] |
Syntax:
1. ConstantName is the name of the constant to be set. This name is case insensitive.
2. ConstantValue is the value of the constant.
General rules:
1. The Constant is defined and set to the ConstantValue.
2. Use the OVERRIDE clause to re-define a previously set constant.
Alternative syntax
The following equivalent syntax is supported for compatibility:
$SET CONSTANT ConstantName ConstantValue |
The dollar sign must appear in the source indicator area.
Example
Define the DEBUG compiler constant set to 1:
>>DEFINE DEBUG 1 program-id. eg001. ... |