AT {COLUMN  } NUMBER col-num
   {COL     }
   {POS     }

  1. The COLUMN phrase specifies the terminal column to use. Column number one (1) indicates the leftmost column of the current subwindow. A column number of zero (0) indicates the current cursor column.
  2. When the COLUMN phrase is used with controls and floating windows, the COLUMN NUMBER refers to the left edge of the control or window. You may use CELL(S) or PIXEL(S) to specify the coordinates of controls. With cells, non-integer values are allowed, and with pixels, non-integer values are not allowed.
  3. If the COLUMN phrase is missing, the results depend on the compatibility mode being used.
    1. In VAX COBOL and ICOBOL compatibility modes, the current cursor position is used unless the LINE phrase is specified. In this case, column one is used. This rule is always applied when controls are placed, regardless of the compatibility mode being used.
    2. In RM/COBOL compatibility mode, column one is used for the first ACCEPT or DISPLAY operand. For subsequent operands, the current cursor position is used (implies COLUMN 0).
  4. If the column number specifies a column value greater than the number of columns in the current window, then one is added to the line number used, and the column number is reduced by the width of the window. This is repeated until the column number specifies a value that is contained within the window.
    Note: This rule is not used when you are placing controls on the screen. If a control is placed outside of the subwindow, the control is not created.
  5. The COLUMN NUMBER phrase used for entries in the Screen Section has a different format. See COLUMN Clause for more information.