BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Tuxedo Doc Home   |   Programming   |   Topic List   |   Previous   |   Next   |   Contents

   Programming a BEA Tuxedo Application Using FML

FML Terminology

Field Identifier

A field identifier (fldid) is a tag for an individual data item in an FML record or fielded buffer. The field identifier consists of the name of the field (a number) and the type of data in the field.

Fielded Buffer

A fielded buffer is a data structure in which each data item is accompanied by an identifying tag (a field identifier) that includes the type of the data and a field number.

Field Types

FML fields and fielded buffers are typed. They can be any of the standard C language types: short, long--> float, double, and char. The following types are also supported: string (a series of characters ending with a null character), carray (a character array), ptr (a pointer to a buffer), FML32 (an embedded FML32 buffer), and VIEW32 (an embedded VIEW32 buffer). The ptr, FML32, and VIEW32 types are only supported for the FML32 interface. The corresponding types in COBOL are COMP-5, COMP-1, COMP-2 and PIC X. A C packed decimal type is also supported in VIEWS for integration with COBOL COMP-3.

VIEWS

VIEWS is a facility of the Field Manipulation Language that allows the exchange of data between fielded buffers and C structures or COBOL records, by specifying mappings of fields to members of structures/records. If extensive manipulations of fielded buffer information are to be done, transferring the data to structures will improve performance. Information in a fielded buffer can be extracted from the fields in the buffer and placed in a structure using VIEWS functions, manipulated, and the updated values returned to the buffer, again using VIEWS functions. VIEWS can also be used independently of FML, particularly in support of COBOL records.