/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).

/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.

See Compiler Directives for information on the columns available for directives.

/DEFINE cannot be specified within a free-form statement.

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.