This generic exit converts bits in a binary string to DB2® character data. Each bit becomes
a byte. There are no parameters required.
The exit handles input field sizes of 1, 2, 3, or 4 bytes. The output DB2 columns can be 1-byte columns,
or 8, 18, 32, or 64 bytes. If the output is 1-byte columns they must
be adjacent in the DB2 table.
For example:
VSAM Field |
DB2 Row |
8 bits |
Either 8 x 1-byte columns
Or 2 x 4-byte columns
Or 1 x 8-byte column
|
32 bits |
Either 32 x 1-byte columns
Or 4 x 8-byte columns
Or 1 x 32-byte column
|