›> ›> EXTOL EDI - Force a Translation Error in an EDI Map

EXTOL EDI - Force a Translation Error in an EDI Map

30th July 2013

Sometimes we need to force a translation error in an EXTOL Integrator EDI map. By using a formula we can easily force a translation error without any CL or RPG coding

Below is an example where we have an inbound map where we use the EFL process to retrieve a customer number. If the customer is null, then we force a translation error via CREATEERR EXTOL formula.

EXTOL Map Formula - Translation Error

The CREATEERR formula above is a TYPE: V(alue) and we use special code of error of A = B.

EXTOL Map Formula Parameters - Translation Error

Above are the parameters for the CREATEERR formula. We are indicating if field WWAN8 is null then force an error.

In a later example we will show how we can force an error and then populate the MSGQ with the error.



Copyright 2013 @ www.seanhoppe.com


By: on