Data Transformation Engine Services Guide

Chapter 9 – BEA TUXEDO Messaging Adapters
47
On the Command Line
Specify the BEA Tuxedo adapter commands using an execution command string on the command line
or create a command file that contains adapter commands that dictate the desired execution settings. For
information about all the options that you can use with the execution commands for messaging adapters
or creating a command file, see the Execution Commands Reference Guide.
Use the execution commands -IM and -OM with the appropriate adapter alias that is specific for the
BEA Tuxedo adapter as follows:
Adapter Alias As Input As Output
BEA Tuxedo
TUX -IMTUX
card_num
-OMTUX
card_num
BEA Tuxedo (MT)
Multi-Threaded
TUXMT -IMTUXMT
card_num
-OMTUXMT
card_num
When using an adapter alias in conjunction with the execution command, the BEA Tuxedo adapter
commands can be issued on the command line or in a command file. You can use the adapter commands
to specify adapter functions such as specifying a particular message identifier, specifying the username
and password for connection to the Tuxedo messaging system, specifying the data format, or enabling
adapter tracing.
For example, to override the adapter commands defined in input card 1, the command string for the
adapter in an server environment might be:
-IMTUX1 ‘–M C –N INQUIRY –B S,7,BALANCE –AP jones -T
This example execution command string specifies connection with the Caller Mode adapter
command (-M C) set to client, the Service Name adapter command (-N INQUIRY) specifies the
Tuxedo service name INQUIRY, the Buffer adapter command (-B S,7,BALANCE) specifies a string
of 7 characters of BALANCE, the Application-Wide Password adapter command (-AP jones) sets
the application password to jones. The Trace adapter command (–T) dictates that a trace file be created
to report adapter activity information, recording the events that occur while the adapter is retrieving this
data.