![]() |
![]() |
||
|
Before running the eLink DIO, you must configure the eLink Platform torecognize the ELINKDIO server and the eLink DIO configuration file.
Configuring the environment for eLink DIO consists of the following basic tasks:
Before running the eLink DIO product, you must edit the UBBCONFIG file to recognize the ELINKDIO server that will be used for the data mapping. For UBBCONFIG parameter syntax and definitions, refer to the BEA TUXEDO Reference Manual on the eLink Platform online documentation CDROM.
Define the ELINKDIO server as the server responsible for the data mapping operation. To define this server, add the ELINKDIO information in the *SERVERS section of the UBBCONFIG file. The following parameters are required for defining the ELINKDIO server.
Note:
You must specify Configuring the ELINKDIO Server on eLink Platform
Define the ELINKDIO Server on eLink Platform
ELINKDIO
as the file to execute for the data mapping process. Within this server definition, you must also specify the -C
option in the CLOPT parameter to pass the dio.cfg
file.
Listing 4-1
Syntax for ELINKDIO Server Definition in the UBBCONFIG File
*SERVERS
ELINKDIO
SRVGRP=groupname
SRVID=n
CLOPT="-A -- -C dio.cfg -WUD -TIO -AE"
For information about the SRVGRP, SRVID, and CLOPT parameter syntax and definitions, refer to the BEA TUXEDO Reference Manual on the eLink Platform online documentation CDROM. The definition of the -C
option in the CLOPT parameter follows and is required for configuration process.
configuration_file
"
The options specified to the right of the double dashes (-- -WUD -TIO -AE
) in Listing 4-1 are optional and write trace files and audit logs. These Mercator options may slow performance; however, may assist in troubleshooting. For an explanation of these options, refer to the Execution Command Reference Guide in the Mercator online documentation.
Listing 4-2 is a sample UBBCONFIG file for Windows NT. In this sample, the ELINKDIO server is defined in the *SERVERS section with the required CLOPT -C option specified.
Listing 4-2 Sample UBBCONFIG File for Data Mapping
*RESOURCES
IPCKEY 123791
DOMAINID simpapp
MASTER simple
*MACHINES
DALNT6
LMID = simple
TUXDIR = "\tuxedo"
TUXCONFIG = "\myappdir\tuxconfig"
APPDIR = "\myappdir"
FIELDTBL = "sample.fml"
FIELDTBL32 = "sample.fml"
FLDTBLDIR = "\myappdir"
FLDTBLDIR32 = "\myappdir"
ULOGPFX = "\myappdir\ULOG"
# LD_LIBRARY_PATH=\mercator
# SHLIB_PATH=\mercator
PATH=\mercator
*GROUPS
eLINK
LMID=simple GRPNO=1
*SERVERS
DEFAULT:
CLOPT="-A"
ELINKDIO
SRVGRP=eLINK SRVID=10
REPLYQ=N
CLOPT="-A -- -C dio.cfg -WUD -TIO -AE"
*ROUTING
In addition to the UBBCONFIG file defining the ELINKDIO server, the eLink DIO product must define the configuration parameters for data mapping and data translation. The eLink DIO product requires a configuration file, such as dio.cfg
, separate from the UBBCONFIG file.
The eLink DIO configuration file requires the following sections:
The SERVER section defines the eLink DIO server for data mapping.
The SERVICE sections define the various services the specified server supports.
Define the eLink DIO configuration parameters for the data mapping operation. The following parameters are required for defining a server in the eLink DIO configuration file.
Define the eLink DIO SERVER Section
Listing 4-3
Syntax for the *SERVER Section in the eLink DIO Configuration File
*SERVER
MAP-DIR=map_file_dir
MTI-DIR=mti_file_dir
NOCACHE=Y
SERVICE_LIST=A,B,C,...
map_file_dir
The default is APPDIR.
mti_file_dir
The default is APPDIR.
Y causes eLink DIO to access the MTI files and Mercator map files from disk each time a service executes. You can load changes to the MTI files or Mercator map files without recycling eLink Platform.
The default behavior is for eLink DIO Server to cache map and MTI files and access them from the cache.
After defining the eLink DIO server in the SERVER section, you must specify the services that the server supports. The following parameters are required for defining a service in the eLink DIO configuration file.
Advertise the service for data mapping by defining it in the SERVICE section of the eLink DIO configuration file.
Listing 4-4 Syntax for Advertising the Mapping Service
*SERVICE=servicename
MAP_FILE=mapname
[MTI_FILE=mtiname
]
BUFFER=FML32 | FML32_VAL | STRING | CARRAY
FML32_VAL_FLD=fieldname
servicename
mapname.mmc
mtiname.mti
Note: This parameter is only required for BUFFER=FML32.
Note: This parameter is only required when specifying BUFFER=FML32_VAL.