rspec/rules/S1565/cobol/rule.adoc

5 lines
442 B
Plaintext

== Why is this an issue?
In most companies the choice is done either to work with ``++PERFORM paragraph1++`` or with ``++PERFORM paragraph1 THRU paragraph2++``. Mixing the two approches is error prone when creating a new paragraph in the middle of an existing source code because there is no easy way to know if an existing execution flow might go through this new paragraph. This rule helps sustain the use of ``++PERFORM ... THRU...++``.