FML Buffer Example

The listing “FIELDTBLS Variable in the TMUSREVT.ENV File” shows an example that uses the FML buffer. The FML field definition table is made available to Oracle Tuxedo by setting the FIELDTBLS and FLDTBLDIR variables.

To filter a field found in the my.flds file:

  1. Copy the my.flds file to /usr/me/bankapp directory.
  2. Add my.flds to theFIELDTBLS variable in the TMUSREVT.ENV file as shown in the following listing:

Listing FIELDTBLS Variable in the TMUSREVT.ENV File

FIELDTBLS=Usysflds,bank.flds,credit.flds,event.flds,my.flds
FLDTBLDIR=/usr/tuxedo/me/T6.2/udataobj:/usr/me/bankapp

If ENVFILE="/usr/me/bankapp/TMUSREVT.ENV" is included in the definition of the UBBCONFIG file (shown in the listing “UBBCONFIG File”), the FIELDTBLS and FLDTBLDIR definitions are taken from theTMUSREVT.ENV file and not from your environment variable settings.

If you remove the ENVFILE="/usr/me/bankapp/TMUSREVT.ENV" definition, the FIELDTBLS and FLDTBLDIR definitions are taken from your environment variable settings. The FIELDTBLS and FLDTBLDIR definitions must be set to the appropriate value prior to booting the Oracle Tuxedo system.

For additional information on event subscriptions and the Oracle Jolt Class Library, refer to Chapter 4, “Using the Jolt Class Library.”.