![]() |
![]() |
e-docs > Tuxedo > Programming a Tuxedo ATMI Application Using FML > Introduction to FML Programming |
Programming a Tuxedo ATMI Application Using FML
|
Introduction to FML Programming
This topic includes the following sections:
What Is FML?
Field Manipulation Language, or FML, is a set of C language functions for defining and manipulating storage structures called fielded buffers, which contain attribute-value pairs in fields. The attribute is the field's identifier, and the associated value represents the field's data content.
Fielded buffers provide an excellent structure for communicating parameterized data between cooperating processes, by providing named access to a set of related fields. Programs that need to communicate with other processes can use the FML software to provide access to fields without concerning themselves with the structures that contain them.
FML also provides a facility called VIEWS that allows you to map fielded buffers to C structures or COBOL records, and vice-versa. The VIEWS facility lets you perform lengthy manipulations of data in structures rather than in fielded buffers; applications run faster if data is transferred to structures for manipulation. Thus the VIEWS facility allows the data independence of fielded buffers to be combined with the efficiency and simplicity of classic record structures.
Two interfaces are available for FML and the VIEWS facility:
How Does FML Fit into the BEA Tuxedo System?
Within the BEA Tuxedo system, FML functions are used to manipulate fielded buffers in the context of ATMI applications.
Data entry programs written for the core portion of the BEA Tuxedo system use FML functions; these programs use fielded buffers to forward user data entered at a terminal to other processes. If you write ATMI applications that receive input in fielded buffers from data entry programs, you will need to use FML functions.
Even if you choose to develop your own applications programs for handling user input and output or if programs are written to pass messages between processes, you may still decide to use FML to deal with fielded buffers passed between these programs.
BEA Tuxedo Typed Buffers
Typed buffers is a feature of the BEA Tuxedo system that grew out of the FML idea of a fielded buffer. Two of the standard buffer types delivered with the BEA Tuxedo system are FML typed buffers and VIEW typed buffers. One difference between the two is that BEA Tuxedo VIEW buffers can be totally unrelated to an FML fielded buffer.
In this text we show how a VIEW is a structured version of an FML record. In other documents, such as Programming a BEA Tuxedo ATMI Application Using C, we present VIEW as one of several available BEA Tuxedo buffer types.
FML Terminology
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |