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-46
atp.fml_buffer Object
fml-field
This parameter is an atp.fml_field object (which is a property of an
atp.fml_buffer object, usually generated as a result of a field object
hierarchy). The field indicates the data type, the field ID, and other information
needed to convert and place the data item.
subscript
You can provide a subscript, as defined by NonStop TUXEDO; see the NonStop
TUXEDO man pages for information about subscript limits.
getData(fml_field [,subscript])
This method returns the data identified by the fml_field object and optional
subscript as a string. This method returns a value of true if the operation is
successful; it returns a value of false and sets the error property if the operation
is unsuccessful.
The value of the data is returned in string format, regardless of the application data
type. To perform computations with the value, use the JavaScript parseInt
feature.
fml-field
This parameter is an atp.fml_field object (which is a property of an
atp.fml_buffer object, usually generated as a result of a field object
hierarchy). The field indicates the data type, the field ID, and other information
needed to convert the data item.
subscript
You can provide a subscript, as defined by NonStop TUXEDO; see the NonStop
TUXEDO man pages for information about subscript limits.
getOccurs(fml_field)
This method returns an integer count of the number of occurrences in the buffer of
the field identified by the fml_field object. A value of zero (0) indicates that the
field is not present in the buffer.
fml-field
This parameter is an atp.fml_field object (which is a property of an
atp.fml_buffer object, usually generated as a result of a field object
hierarchy). The field indicates the data type, the field ID, and other information
needed to identify the data item.