Compile a Transaction or Segment

The Compile Transaction and Compile Segment features compile transaction math configuration and identify configuration errors.  You can easily identify errors because the Rules Palette marks folders and files with a red Red error icon icon.  You can run the Compile Transaction feature on an individual transaction or segment or on all of the transactions or segments in a plan.  After running Compile, you will see the Red error icon icon on folders that contain a transaction or segment with an error. You will see the warning icon icon if there is a warning.  You must 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 you check-out a transaction with errors.  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 Save All 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.

 

Compilation Error showing in Math Pane

 

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 Error icon icon until you locate the transaction or segment’s XML file.

  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 Save Button .

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

 

Compilation Error Display

 

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  Error icon to be brought to the error in the configuration.

  4. Resolve error.

  5. Select the Save button Save button .

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

 

Note:  If the Engine Error Output window is closed, you can open it up from Window on the Main Menu by selecting Open Engine Error Window .

 

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