
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.
42 lines
579 B
Plaintext
42 lines
579 B
Plaintext
== Why is this an issue?
|
|
|
|
There's no need to repeat the program name in the free-format definition of an external program.
|
|
|
|
|
|
=== Noncompliant code example
|
|
|
|
[source,rpg]
|
|
----
|
|
DCL-PR PGM001 EXTPGM('PGM001');
|
|
END-PR;
|
|
----
|
|
|
|
|
|
=== Compliant solution
|
|
|
|
[source,rpg]
|
|
----
|
|
DCL-PR PGM001 EXTPGM ;
|
|
END-PR;
|
|
----
|
|
or if the program is renamed
|
|
|
|
[source,rpg]
|
|
----
|
|
DCL-PR TheProgram EXTPGM('PGM001');
|
|
END-PR;
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
=== Message
|
|
|
|
Remove "xxx" at position n.
|
|
|
|
|
|
endif::env-github,rspecator-view[]
|