Using a VAN script template

This section provides instructions for the application of value-added network (VAN) templates to an EC Gateway communications channel.

Each VAN is a commercial network that provides store and forward service for specific types of EDI messages between established trading partners. The VAN scripts allow EC Gateway communications protocols to automatically access an established VAN account and to communicate automatically with your trading partners.

  1. Run EC Gateway.

  2. Select the Comm Channel icon.

  3. Use the pop-up menu to display the Communications Channel – New or the Communications Channel – Properties window.

  4. Select the Template Script check box.

  5. On the Script tab, use the Browse button to find the template that you want to use. The installation wizard placed the VAN templates in the default directory \ECEDIGS\VAN Templates. In this directory, there is a folder for each set of VAN templates: ATT, Harbinger, GES, IBM, and Sterling. Each VAN template has a standard name <3 character abbreviated VAN name><send (snd), receive (rcv), or both (rs)>.tpl.

  6. The name of the selected template appears in the Template Script File entry box.

  7. Click the Create Script File button. The Script File Name window displays with a default name for this production script displayed.

  8. Click OK. The Create Parameter Values window displays.

  9. Highlight a template parameter on the list on the left. Click the Add Value button. The Add Value window displays.

  10. Enter a value for the parameter and click the OK button. The value displays in the list on the right. Repeat the use of the Add Value button for each parameter listed in the template file.

  11. When you are finished using the Create Parameter Values window, click the OK button. The Communications Channel window is displayed.

  12. Continue working with the Communications Channel window. When you are finished with the window, click OK.


Supported VAN templates

The default location for the VAN templates is c:\ecedigs\VAN Templates. This directory contains a folder for each supported VAN: ATT, Harbinger, GES, IBM, and Sterling. Each VAN template has a standard name <3 character abbreviated VAN name><send (snd), receive (rcv), or both –receive and send (rs)>.tpl. Each template supports asynchronous communication. The folders and their contents are listed below:

VAN folder name

Contents of folder

ATT

ATT_RCV.TPL

ATT_TS.TPL

ATT_SND.TPL

GES

GES_RCV.TPL

GES_RS.TPL

GES_SND.TPL

Harbinger

HRB_RCV.TPL

HRB_RS.TPL

HRB_SND.TPL

IBM

IBM_RCV.TPL

IBM_RS.TPL

IBM_SND.TPL

Sterling A Network

STA_RCV.TPL

STA_RS.TPL

STA_SND.TPL

Sterling B Network

STB_RCV.TPL

STB_RS.TPL

STB_SND.TPL

NoteUse the templates beginning with STA for the Sterling A Network. Use the templates beginning with STB for the Sterling B Network. Both these networks use ASCII transfer protocol.