Declaration of numeric host variables in COBOL embedded SQL applications
Numeric host variables
that you declare in your embedded COBOL application are treated as
if they were declared in a COBOL program. You can use host variables
to exchange data between the embedded application and the database
manager.
The syntax for numeric host variables is:
Floating point
Numeric host variable considerations:
- Picture-string must have one of the following forms:
- S9(m)V9(n)
- S9(m)V
- S9(m)
- Nines can be expanded (for example., "S999" instead of S9(3)")
- m and n must be positive integers.