rspec/rules/S3745/cobol/rule.adoc

34 lines
753 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
COBOL programs that include ``++EXEC SQL INCLUDE++`` statements must be pre-processed with an IBM DB2 precompiler or coprocessor before compilation. The precompiler does not require a period after the closing ``++END-EXEC++``, but the coprocessor does. For portability, a period should always be used.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
EXEC SQL INCLUDE ... END-EXEC *> Noncompliant; '.' missing
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
----
EXEC SQL INCLUDE ... END-EXEC.
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
include::highlighting.adoc[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]