rspec/rules/S2032/rpg/rule.adoc
Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
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.
2023-05-25 14:18:12 +02:00

48 lines
692 B
Plaintext

== Why is this an issue?
If the code is moved to another environment, certain characters could be misinterpreted based on the new environment's CCSID. Therefore, those characters should not be used in either RPG or in the SQL embedded inside RPG code.
||Remove||Replace with||In||
| \|\| |CONCAT|SQL|
| \|\| |*CAT|RPG|
| \|<|*TCAT|RPG|
| \|>|*BCAT|RPG|
| \|=|*NE|RPG|
|!|*NOT|SQL|
|!=|*NE|RPG, SQL|
|¬|*NOT|RPG, SQL|
|!<|>|SQL|
|!>|<|SQL|
|¬<|>|SQL|
|¬>|<|SQL|
|¬=|*NE|SQL|
|=|EQ|SQL|
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Replace "x" with it's equivalent.
endif::env-github,rspecator-view[]