Why you should care
In a cobol file, area A (the first four columns) are reserved for divions, sections names, paragraph names and level 01 data declaration.
How we detect
CAST Highlight counts one occurrence each time one of these patterns are detected in source code:
- a 01 level data is declared outside area A.(first four columns are empty
- a 88 level data is inside area A. (the fours columns are not empty)
- one of the following instruction is found in area A:Â COPY, IF, AND, SET, MOVE, DIVIDE, READ, ADD, WRITE, MULTIPLY, PERFORM, OPEN, CLOSE, WHEN, EVALUATE, EXEC, INITIALIZE, GO TO
References
Coming soon…
About CAST and Highlight’s Code Insights
Over the last 25 years, CAST has leveraged unique knowledge on software quality measurement by analyzing thousands of applications and billions of lines of code. Based on this experience and community standards on programming best practices, Highlight implements hundreds of code insights across 15+ technologies to calculate health factors of a software.