rspec/rules/S1499/cobol/rule.adoc

33 lines
517 B
Plaintext

== Why is this an issue?
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[]