VMS Help  —  COBOL  PROCEDURE_DIVISION, ACCEPT  5format_screen_section_extensions
  The ACCEPT statement makes low-volume data available to the program.
  The HP extensions to the ACCEPT statement (formats 3, 4 and 5) are
  COBOL language additions that facilitate video forms design and data
  handling.

  Format 5 -

   ACCEPT screen-name

      [    {| LINE NUMBER { line-num }     |} ]
      [    {|             { line-id  }     |} ]
      [ AT {|                              |} ]
      [    {| COLUMN NUMBER { column-num } |} ]
      [    {|               { column-id  } |} ]

      [ ON EXCEPTION stment ]

      [ NOT ON EXCEPTION stment2 ]

      [ END-ACCEPT ]
Additional Information: explode extract

screen-name
line-num line-id
column-num column-id
stment
Close Help