Both the WINDOW and DISPLAY statements accept field specifications. Field specifications have the following general form:
<positionals> field-operand <format> <field-options>;
The positionals are directives specifying the position on the screen in which to begin the field. There are four kinds of positionals, any number of which are accepted for each field operand. Positionals are the following:
specifies the row position; that is, it moves the current position to column 1 of the specified line. The operand is either a number, a variable name, or an expression in parentheses. The expression must evaluate to a positive number.
instructs IML to go to column 1 of the next row.
specifies the column position. The operand is either a number, a variable name, or an expression in parentheses. The @ directive should come after the pound sign (#) positional, if it is specified.
instructs IML to skip columns. The operand is either a number, a variable name, or an expression in parentheses.
The field-operand specifies what goes in the field. It is either a character literal in quotes or the name of a character variable.
The format is the format used for display, for the value, and also as the informat applied to entered values. If no format is specified, the standard numeric or character format is used.
The field-options specify the attributes of the field as follows: