
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
18 lines
904 B
Plaintext
18 lines
904 B
Plaintext
== Why is this an issue?
|
|
|
|
Using the ``++CORRESPONDING++`` option in ``++MOVE++``, ``++ADD++``, and ``++SUBTRACT++`` statements may seem like a good way of sparing source code because this single statement will represent several actual statements. However, it can lead to unexpected behavior due to the fact that fields might not be named the same, or might be named the same but not have the same data type.
|
|
|
|
|
|
It is therefore recommended to explicitly name the fields when using ``++ADD++``, ``++SUBTRACT++``, and ``++MOVE++`` statements.
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
=== on 17 Mar 2015, 19:51:52 Ann Campbell wrote:
|
|
\[~freddy.mallet], I changed all instances of "substract" to "subtract" in this rule because the former is an unfamiliar word to me & my Google search for "cobol substract" came up empty.
|
|
|
|
endif::env-github,rspecator-view[]
|