rspec/rules/S2803/rpg/rule.adoc
2022-02-04 16:28:24 +00:00

38 lines
790 B
Plaintext

While the ``++OCCURS++`` keyword still works, it is slower than its more modern replacement: ``++DIM++``, which should be used instead.
== Noncompliant Code Example
[source,rpg]
----
D cussls ds Occurs(200)
D CustNo 7p 0
D MonthlySls 11P 2
----
== Compliant Solution
[source,rpg]
----
D cussls ds dim(200)
D CustNo 7p 0
D MonthlySls 11P 2
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]