A SERVICE OF

logo

6 Administrator’s Guide
Chapter 3 Defining rules and queries 45
Defining rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Constant syntax (constant|<string>) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Precedence syntax (<{rule}> <{rule}> <{rule}>) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Function syntax (function|<function(parameters)>) . . . . . . . . . . . . . . . . . . . . . . . . . 48
SQL command syntax (sql|<command>) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Target SQL command syntax (targetsql|<command>). . . . . . . . . . . . . . . . . . . . . . . 53
Process command syntax (process|<command>) . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Target process command syntax (targetprocess|<command>) . . . . . . . . . . . . . . . . 54
If/then/else syntax (STMT|<statement>) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Defining queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
AR System query syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Data key syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Row-level query syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Using the adapter rule helper utilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Using the DB2 Adapter Rule Helper utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Using the Oracle Adapter Rule Helper utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Using the SQL Adapter Rule Helper utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Using the XML Adapter Rule Helper utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Using the File Adapter Rule Helper utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Using the the adapter rule helper utilities on UNIX platforms. . . . . . . . . . . . . . . . 69
Populating the rule control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Chapter 4 Activating event-driven data exchanges 73
Creating a request on the Application Pending form . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Creating a request using the eiexfer utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Examples of the event-driven request command syntax. . . . . . . . . . . . . . . . . . . . . 80
Completion codes returned by eiexfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Activating an event-driven data exchange through workflow . . . . . . . . . . . . . . . . . . . 83
Chapter 5 Running and configuring the Integration Engine service 85
Running the Integration Engine service on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Running the Integration Engine service on UNIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Loading the adapters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Understanding the configuration file and its parameters . . . . . . . . . . . . . . . . . . . . . . . 88
Sample configuration file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Configuration file parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Editing the configuration file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Managing instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Changing Integration Engine AR System password. . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Chapter 6 Logging and debugging 97
Log messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Debug messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Using the <instance name>_eiemain.dbg debug file . . . . . . . . . . . . . . . . . . . . . . . . 102
Using an <exchange_name>.dbg debug file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Debug logging settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106