How to Get File Extension in COBOL - Code Snippet

How to perform 'Get File Extension' in COBOL.

example.cbl
* Task: Get File Extension
* Language: COBOL

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