Previous Topic: Control StatementsNext Topic: Types of Control Statements:


Placement of Control Statements

The $ and % of the control statements must begin in column one. All $ control statements must come before any other control statements or rule entries. Comment statements can appear anywhere in the input.

You can code multiple $ control statements on one line if the $ appears in column one. For example, either of the following formats is acceptable:

$KEY(DSNDATA.PAYROLL)
$TYPE(TBL)
$SYSID(TEST)

or

$KEY(DSNDATA.PAYROLL) TYPE(TBL) SYSID(TEST)