iTP Active Transaction Pages (iTP ATP) Programmer's Guide
ATP Objects, Properties, and Methods
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide—522292-002
4-40
NonStop TUXEDO Objects
NonStop TUXEDO Objects
The NonStop TUXEDO objects enables you to develop scripts that use NonStop
TUXEDO (Release 2) applications. For a discussion and example of using these objects,
see Using NonStop TUXEDO Servers from JavaScript
on page 3-10.
atp.fml_field Object
The fml_field object represents one FML field from a NonStop TUXEDO FML
field table.
Constructor
new atp.fml_field (name, type, type_text, base, field_id)
This object is usually instantiated automatically from an FML field table when the
application instantiates the atp.fml_table object.
name
This parameter is the name of the FML field.
type
This parameter contains a numeric code representing the type of the field. The codes
are standard in TUXEDO:
0=short int
1=long int
2=character
3=single-precision float
4=double-precision float
5=string—null terminated
6=character array)
type_text
This parameter is the data type expressed as text. (The text is the same as in the list
of type codes above.)
base
This parameter is the *base specification for the field from the field table. For
information about the base used to calculate a TUXEDO field ID, see the NonStop
TUXEDO manual set.