Special Register Sets

How to:

A Special Register (SREG) is a variable that users can set. As a best practice within the EDI framework, you can use SREGs to define input and output locations. When an iWay Integration Application (iIA) containing EDI channels is migrated between systems (for example, from Dev to UAT), the only changes required to deploy the iIA in the new system is to set the SREG and start the iIA. EDI channels use multiple locations and paths. This practice minimizes the migration effort. For a list of SREGs that are provided with iSM, see the iWay Service Manager Programmer's Guide. For more information on defining an SREG of your own, see the iWay Service Manager User's Guide.

The sample outbound TRADACOMS channel sets all of the SREGs that are listed in the following table.

Name

Value

Input

sreg(TRAD_OUTPUT)

Output

sreg(TRAD_OUTPUT)

Archive

sreg(TRAD_OUTPUT)/OB_Archive

ValidationReport

sreg(TRAD_OUTPUT)/OB_Report

Error

sreg(TRAD_OUTPUT)/OB_Error

Procedure: How to Modify SREG Sets in the Channel

  1. In the Integration Explorer tab (left pane of iIT), double-click the name of the SREG set (for example, XMLTRAD).

    The selected SREG set opens as a new tab, as shown in the following image.

  2. Ensure to save your changes.
  3. If you make any changes to the SREG set, rebuild and redeploy the iIA for the changes to take effect.