iTP Active Transaction Pages (iTP ATP) Programmer's Guide

ATP Objects, Properties, and Methods
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
4-24
atp.sqlvar Object
Properties
The properties of this object are derived very closely from the SQLDA structure. For
detailed descriptions of the properties, see the NonStop SQL/MP Programming Manual
for C. Each property has the same range of values as in the SQLDA structure.
data_type_code (read-only)
This property is a numeric code indicating the data type of the column or variable.
length (read-only)
This property gives the internal storage length of a column or variable. For example,
the value is 2 bytes for a short integer.
numeric_scale (read-only)
This property gives the number of decimal places for binary and decimal numbers.
numeric_precision (read-only)
This property gives the precision of binary numerics.
date_time_interval_range (read-only)
This property is a numeric code representing the scope of a date/time or interval
item. For example, the value 9 represents “year to day.” See the NonStop SQL
manual set for a description of this property and its values.
date_time_interval_leading_precision (read-only)
This property is defined in the NonStop SQL manual set.
date_time_interval_fraction_precision (read-only)
This property is defined in the NonStop SQL manual set.
character_set_id: (read-only)
For character items, this property identifies the character set. For example,
0=unknown,103=ISO88593. For a complete description, see the NonStop SQL
manual set.
null_permitted (read-only)
This property is a Boolean value indicating whether an SQL null value is permitted
for the column.