beautypg.com

Configuration – HP NonStop G-Series User Manual

Page 27

background image

Configuration

Configure the TUXEDO TMUSREVT server and modify the application UBBCONFIG file.

Example 3-3

shows the relevant portions TMUSREVT parameters in the UBBCONFIG file. See the TUXEDO
Programmer's Guide for information regarding the syntax of the entries for the file.

Example 3-3. Sample UBBCONFIG File for TMUSREVT

TMUSREVT SRVGRP=EVBGRP1 SRVID=40 GRACE=3600
ENVFILE="/usr/tuxedo/bankapp/TMUSREVT.ENV"
CLOPT="-e tmusrevt.out -o tmusrevt.out -A --
-f /usr/tuxedo/bankapp/tmusrevt.dat"
SEQUENCE=11

Change the following sections of the UBBCONFIG file:

Section

Parameters to be specified

*SERVERS SRVGRP, SRVID

Filtering TUXEDO FML or VIEW Buffers

"Filtering" is a process that allows you to customize a subscription. If you require additional information about
the TUXEDO Event Broker, subscribing to events, or filtering, refer to the NonStop TUXEDO Programming
Guide
.

In order to filter TUXEDO FML or VIEW buffers, the field definition file must be available to TUXEDO at
runtime.

Note

There are no special requirements for filtering STRING buffers.

FML Buffer Example

Example 3-4

shows an example using the FML buffer. The FML field definition table is made available to

TUXEDO by setting the FIELDTBLS and FLDTBLDIR variables.

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

Copy the my.flds file to /usr/me/bankapp directory.

1.

Add my.flds to the FIELDTBLS variable in the TMUSREVT.ENV file as shown in

Example 3-4

:

2.

Example 3-4. 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

Example 3-3

), the FIELDTBLS and FLDTBLDIR definitions are taken from the TMUSREVT.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 TUXEDO application.