rspec/rules/S1736/cobol/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

26 lines
773 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

== Why is this an issue?
Linstruction INSERT/SELECT correspond à des mises à jour de masse sans possibilité de prendre des commits intermédiaires. Ce qui est très dommageable en terme daccès concurrents sur des environnements 24/24 7/7.
=== Noncompliant code example
[source,cobol]
----
EXEC SQL INSERT INTO TESTPROJ (PROJNO, PROJNAME, DEPTNO)
SELECT PROJNO, PROJNAME, DEPTNO
FROM S1TESTPR
WHERE DEPTNO LIKE B% END-EXEC.
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
=== on 27 May 2014, 09:29:14 Freddy Mallet wrote:
This rule is specific to the BNP context. We should provide an XPath rule to get the same result.
endif::env-github,rspecator-view[]