How to Delete File in COBOL - Code Snippet

How to perform 'Delete File' in COBOL.

example.cbl
* Task: Delete File
* Language: COBOL

PROCEDURE DIVISION. delete_file() 
    * Implementation for Delete File
    * TODO: Implement core logic here
    * Step 1: Prepare data
    * Step 2: Process Delete File
    DISPLAY("Done");
STOP RUN.
AdSense Slot