IBM / zopeneditor-about

IBM Z Open Editor: File issues here!
https://ibm.github.io/zopeneditor-about
Apache License 2.0
51 stars 20 forks source link

COBOL - Do not impose an end of sentence period at the end of a copybook #378

Open FALLAI-Denis opened 10 months ago

FALLAI-Denis commented 10 months ago

Development environment used

Problem Description

Syntactic analysis done on a COBOL (procedural) copybook requires the presence of a period at the end of the sequence of lines. This is an anomaly because a copybook just needs to be "well-formed" and there may be a simple sequence of instructions to include. There is no reason to require a COBOL sentence endpoint on the last statement/declaration in the copybook.

Observed behavior

image

To note :

Use case of this copybook:

image

image