rspec/rules/S2803/rpg/rule.adoc

18 lines
509 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
While the ``++OCCURS++`` keyword still works, it is slower than its more modern replacement: ``++DIM++``, which should be used instead.
== Noncompliant Code Example
----
D cussls ds Occurs(200)
D CustNo 7p 0
D MonthlySls 11P 2
----
== Compliant Solution
----
D cussls ds dim(200)
D CustNo 7p 0
D MonthlySls 11P 2
----