rspec/rules/S3617/rule.adoc

20 lines
522 B
Plaintext
Raw Normal View History

Host variables are used for passing data back and forth from the database to a COBOL program via SQL. In order to keep that transmission clear and free of errors, the format of each host variable should match its corresponding database column type.
2021-02-02 15:02:10 +01:00
This rule raises an issue when column and corresponding host variable don't match in terms of numeric vs character data, and when the host variable is smaller than the column width.
== Noncompliant Code Example
----
TODO
----
== Compliant Solution
----
TODO
----