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-28
atp.field Object
decimals
This parameter gives the number of implied decimal places (COBOL "V" picture
option). The value can be a negative number for scaled numbers (COBOL "P"
picture option).
bit_offset
This parameter gives the bit offset (starting at 0, maximum 15) of a DDL bit data
type.
bit_length
This parameter gives the bit length (minimum 1, maximum 15) of a DDL bit data
type.
subscript_multipliers
This parameter is an array of sizes, in bytes, of the enclosing repeating structures of
subscripted fields. Up to seven subscripts are supported.
occurs_max
This parameter gives the maximum number of occurrences specified for a field. The
value is 1 for non-repeating fields. If a repeating field has subfields, the repeating
field has an occurs_max value other than 1; each subfield, however, has an
occurs_max value of 1 unless a given subfield is also specified as repeating,
resulting in a nested table.
Properties
name (read-only)
This property gives the name of the field.
level (read-only)
This property indicates the level at which the field exists in the application-message
structure. The level is between 0 and 48.
type (read-only)
This property contains text identifying the data representation of the field within the
application-message buffer. The Description column of Table 4-4
on page 4-30 gives
the text for each type.
structure (read-only)
This property contains a number identifying the data representation of the field
within the application-message buffer. The numbers are the same as those used
within the DDL dictionary dictobl file. Table 4-4 on page 4-30 lists the supported
data types.