VMS Help  —  COBOL  PROCEDURE_DIVISION, DISCONNECT
  The DISCONNECT statement logically removes the current record of the run
  unit from one or more sets.

  Format -

   DISCONNECT [record-name] FROM { { set-name } ... }
                                 { ALL              }

      [ ON ERROR stment ] [ NOT ON ERROR stment ]

      [ END-DISCONNECT ]

1  –  record-name

   names a subschema record type.

2  –  set-name

  names a subschema set type.

3  –  stment

  is an imperative statement.
Close Help