You are here: Configuration > Transactions > Compile Transaction or Segment

Oracle® Insurance Rules Palette 9.4.0.0 E18894_01

# Compile a Transaction or Segment

The Compile Transaction and Compile Segment features compile transaction math configuration and identify configuration errors. The Rules Palette markes folders and files with a red icon to easily identify errors. The Compile Transaction feature can be run on an individual transaction or segment or on all of the transactions or segments in a plan. After running Compile, the icon will appear on folders that contain a transaction or segment with an error. The warning icon will display if there is a warning. Check-out the transaction or segment’s XML file with the error and open the Engine Error Output window to view the explanation of the compilation error. If this window is not visible, click Window on the Main Menu and select it.

The XML Navigator window will automatically open when a transaction with errors is checked out. It is necessary that this window remain open, as it connects the error output to its location in the configuration.

There are three types of errors that are listed in the Engine Error Output window.

1. Translation Error is an error that was caused by a syntax error in the math section. All translation errors will be listed at one time.

2. Compilation Error is an error with the configuration in the math section. In this situation, the compile feature stops compiling the configuration of a transaction after it locates this type of error. Only one compilation error at a time is handled. After resolving the compilation error and selecting the Save button , the compiler runs again through the configuration and locates the next compilation error. This process repeats until all errors have been resolved.

3. Runtime Error is a system code error that was caused by configuration.

Errors Shown in Engine Error Output Window

## Steps to Compile all Transactions or all Segments Simultaneously

1. Right-click on the Transaction or Segment folder.

2. Select Compile Transactions.

3. Navigate in folders with the icon until the transaction or segment’s XML file is located.

4. Check-out the XML file.

5. Review the error in the Engine Error Output window.

6. Double-click on the configuration error message to be brought to the error in the configuration.

7. Resolve the error.

8. Select the Save button .

9. Repeat steps 5 through 8 until no errors are reported.

Compilation Error Shown in Engine Error Output Window

## Steps to Compile an Individual Transaction or Segment

1. Check-out the transaction or segment’s XML file.

2. Review the error in the Engine Error Output window.

3. Double-click on the configuration error message to be brought to the error in the configuration.

4. Resolve error.

5. Select the Save button .

6. Repeat steps 2 through 5 until no errors are reported.

Note: If the Engine Error Output window is closed, it can be opened from Window on the Main Menu by selecting .

Important: Please see the Debug Pane for correcting errors that do not pertain to compiling.

Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices

Open table of contents