Menu

#25 Parsing: Program must start with IDENTIFICATION DIVISION

v1.0 (example)
closed-fixed
nobody
None
4
2013-08-13
2013-08-02
No

I stumbled upon a source where "IDENTIFICATION DIVISION." was missing. The program starts with "PROGRAM-ID." and the program can be compiled with several compilers.

Looking at FCD 20xx page 197 it seems optional.

Related

Discussion: Missing Support for COBOL 2002 (level 78, EXIT SECTION/PERFORM, length of section names, BASED/ALLOCATE/FREE)

Discussion

  • Simon Sobisch

    Simon Sobisch - 2013-08-12

    Fixed with latest patches, can be closed when covered in test suite.

     
  • KrisDS

    KrisDS - 2013-08-13

    Yeah, the issue was added to the test suite. Will close.

     
  • KrisDS

    KrisDS - 2013-08-13
    • status: open --> closed-fixed
     

Log in to post a comment.