Data Transformation Engine Services Guide

Chapter 1 – Tuxedo Transformation Server
11
Chapter 1 – Tuxedo Transformation
Server
The Tuxedo Transformation Server (mercserv) wraps the NonStop DTE mapping process with a
Tuxedo service. There is one service for each map. The format of the service name is the name of the
map minus the file-type extension. For example, to invoke a map named toedi.mmc, the client calls the
service named TOEDI.
mercserv is the executable file for the Tuxedo Transformation Server. The map files must reside in the
same directory as mercserv.
Each map has at least one input and one output card. Cards reside within the map; their role is to
provide an interface to the data.
An input card defines the input data format and the data source. An output card defines the output data
format and the data target. For example, if the output card is a file, it directs the data to the file adapter.
The output card is defined in the configuration file (mercserv.cfg).
The Tuxedo service passes input data to input card 1 and returns data to the service-requester from an
output card. Besides the Tuxedo service, the map can get data from files and message systems through
additional input cards and can put data from the output cards to message systems and files. There may
be any number of and any combination of input and output card types. For example, an input card can
get data from a client while the output card puts the same data to a file.
The output card (which corresponds to the returned data) has a header that contains control information,
defined in the map, that determines the destination and format of the output buffer. This header is
required.
The following figure shows an example map call with multiple input and output card types.
000CDT .CDD
Input
Card 3
Input
Card 2
Input
Card 1
TOEDI Service
toedi.mmc
Output
Card 3
Output
Card 2
Output
Card 1
`
The Tuxedo Transformation Server works with all Tuxedo data types (FML, String, C Array or View),
on input and output. It is possible to send data in one format, and receive a reply in another format.