Editorial question41K views2,203 votes0 answers4,768 following
AI-generatedCOBOL REWRITE on indexed files: required lock state before execution
COBOL REWRITE on indexed files: required lock state before execution Goal: Clarify whether a record must be locked for update before executing REWRITE on an indexed file opened in I-O mode, and how this requirement varies between IBM Enterprise COBOL and GnuCOBOL. Constraints: The ANSI COBOL 85 standard states that REWRITE updates the current record and requ