/DEFINE

The /DEFINE compiler directive defines conditions for conditional compilation. The entries in the condition-name area are free-format (do not have to be left justified).

Start of change/DEFINE must be followed by at least one space, and then the condition-name must be specified on the same line. The remainder of the line must be blank.End of change

Start of changeSee Compiler Directives for information on the columns available for directives.End of change

Start of change/DEFINE cannot be specified within a free-form statement.End of change

The /DEFINE directive adds a condition-name to the list of currently defined conditions. A subsequent /IF DEFINED(condition-name) would be true. A subsequent /IF NOT DEFINED(condition-name) would be false.
Note: The command parameter DEFINE can be used to predefine up to 32 conditions on the CRTBNDRPG and CRTRPGMOD commands.