VMS Help
COBOL, PROCEDURE_DIVISION, DISPLAY, 4format_arg_position_extensions

 *Conan The Librarian

  When a Format 4 DISPLAY statement is specified, the value stored in
  arg-position is moved to argument-number. This updates the current
  argument position indicator for the command line. See ARGUMENT-NUMBER
  in the SPECIAL-NAMES paragraph. This point to to selected argument to
  be read by a Format 7 ACCEPT statement.

  Format 4 -

   DISPLAY arg-position UPON argument-number
      [ END-DISPLAY ]

  1 - arg-position

  is a literal or identifier that specifies the desired argument
  position on the run command line. It must be an unsigned integer.

  2 - argument-number

  is a mnemonic name associated with argument-number in the
  SPECIAL-NAMES paragraph in the Environment Division, representing
  the name of an environment variable or system logical.
  Close     Help