VMS Help  —  COBOL  PROCEDURE_DIVISION, GET
  The GET statement moves the contents of the current database record of
  the run unit to your User Work Area.

  Format -

   GET [ record-name         ]
       [ { record-item } ... ]

       [ ON ERROR stment ] [ NOT ON ERROR stment ]

       [ END-GET ]

1  –  record-name

  names a database subschema record type.

2  –  record-item

  is a group or elementary data item in a subschema record type.
  Record-item may be qualified.

3  –  stment

  is an imperative statement.
Close Help