Library /sys$common/syshlp/helplib.hlb  —  COBOL  Run-Time Messages, NO_CURRENT
  No current record, no previous READ

  Explanation:  The program executed a REWRITE or DELETE statement
  for a file in sequential access mode when there was no current
  record.  The I-O operation immediately before the REWRITE or DELETE
  must be a READ statement.  This rule applies to indexed files with
  duplicate primary keys that are opened in dynamic access mode.

  User Action: Check the program logic to ensure that no I-O statement
  executes between the READ and REWRITE or DELETE statements.
Close Help