rspec/rules/S1499/cobol/rule.adoc
2022-02-04 16:28:24 +00:00

31 lines
489 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
[source,cobol]
----
SELECT *
FROM persons
INTO newyorkers
WHERE city = 'NEW YORK'
----
== Compliant Solution
[source,cobol]
----
SELECT firstname, lastname
FROM persons
INTO newyorkers
WHERE city = 'NEW YORK'
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]