TMF Application Programmer's Guide (H06.06+, J06.03+)

TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmers Guide540139-009
5-76
ARGETMXCOLUMNINFO
To ensure upward-compatibility, do not make assumptions about how information gets
returned. For example, do not assume that:
the offsets in the columns are in ascending order.
the null indicator offset, varlen offset, and data offset are within a contiguous range
without intervening fillers or data from other columns.
the data in the image info buffer is “dense,” meaning that there are no unused
spaces in it.
the first field in the record starts at a fixed offset.
the values of nullIndLength_ and varLenLength_ are fixed at 2 and 4, respectively,
if non-zero.
fields in the image buffer that are not described by an MXARLibColumnInfo
structure are set to any given value.
02 PRECISION type binary 32,0
The precision (number of significant decimal digits)
for numeric values.
02 SCALE type binary 32,0
The scale (decimal digits after the decimal point) for numeric values.
For interval, time and timestamp columns, this is the "fraction
precision", the precision of fractional seconds (a value between 0
for whole seconds and 6 for microsecond resolution).
02 CHARACTERSET type binary 32,0
Character set for a character column. See
SQLCHARSETCODE_ literals in file sqlcli.h.
02 FUTURECOLLATION type binary 32,0
A literal identifying the collation of a character column,
should collations be supported in Release 2.
02 filler type pic x (20)
end ! of definition COLUMNINFO
Example 5-1. IMAGEINFO and COLUMNINFO Definitions