Check Point

The Check Point command is used to set a marker during the processing of data or to back out to the point where the marker was set. The two command types—Check Point and Backout Point—are used together to pull out portions of application files or EDI files that are being written. The Check Point command is very useful for testing the mapping process, because it allows you to back out to a specified level based on the errors that you have received.

You may assign up to five different check points at a time at various levels in the mapping process. Since these check points are dynamic, you may continue to reuse them. Each time you either read or write an EDI transaction/message, the program looks at the check points.

When you choose the Check Point command, a Parameters section appears at the bottom of the Rule Command – New/Properties window. In the Parameters section, there are two text boxes: Point Number (1-5) and Command Type.

When you select the up arrow next to the Point Number text box, you can choose either Memory Variable or Constant.

When you select the up arrow next to the Command Type text box, you can choose either Check Point or Backout Point.

The Check Point command works somewhat differently for inbound and outbound processing and for sequential and ODBC files.

For outbound maps:

For all inbound maps:

ECMap assumes that the Backout command only takes you back to a check point; never forward. As a result, when you back out to a check point that has other check points that occur after it, the program automatically assigns to those later check points the saved location to which you backed out.