The exact numeric data types DECIMAL and NUMERIC can hold values up to a driver-specified precision and scale.
They are declared in COBOL as SIGNED COMP-3, PACKED-DECIMAL or as NUMERIC USAGE DISPLAY.
For example:
03 packed1 pic s9(8)v9(10) usage comp-3. 03 packed2 pic s9(8)v9(10) usage display.
OpenESQL
OpenESQL supports using both formats as host variables.