VMS Help  —  COBOL  PROCEDURE_DIVISION, DELETE
  The DELETE statement logically removes a record from a mass storage file.

  Format -

   DELETE file-name RECORD

   [ INVALID KEY stment ] [ NOT INVALID KEY stment ]

   [ END-DELETE ]

1  –  file-name

  is the name of a relative or indexed file described in the Data
  Division.  It cannot be the name of a sequential file or a sort or
  merge file.

2  –  stment

  is an imperative statement.
Close Help