I am not able to generate model for following COBOL code.
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOWORLD.
PROCEDURE DIVISION.
DISPLAY 'HELLO WORLD'.
STOP RUN.
Getting error "An internal error occurred during: "Generating Model". Koopa input is invalid"
But if we add LINKAGE SECTION it works fine, and generate Model.
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOWORLD.
DATA DIVISION.
LINKAGE SECTION.
01 TOP-LEVEL.
05 ITEM-NUMBER PIC 9(4).
PROCEDURE DIVISION.
DISPLAY 'HELLO WORLD'.
STOP RUN.
Please help me to Identify, why the first code is not working, as Linkage Section is not a mandatory part. Both the code are compiling successfully in AS/400 COBOL.