VMS Help  —  COBOL  PROCEDURE_DIVISION, ACCEPT  2format FROM
  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 2 -

                         { DATE [YYYYMMDD] }
   ACCEPT dest-item FROM { DAY  [YYYYDDD]  }
                         { DAY-OF-WEEK     }
                         { TIME            }

1  –  dest-item

  is the identifier of a data item into which data is accepted.
Close Help