rspec/rules/S2797/rpg/rule.adoc

22 lines
649 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
The use of positional notation to describe the overlapping of one field on another can quickly become confusing, particularly in large, or complicated data structures. Instead, the ``++OVERLAY++`` keyword should be used to make such overlaps more readily identifiable.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
D Message DS QUALIFIED
D Id 7
* Noncompliant
D Type 1 3
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
----
D Message DS QUALIFIED
D Id 7
D Type 3 OVERLAY(Id)
----