Configuring an Event Listener for the iWay Application Adapter for J.D. Edwards EnterpriseOne

In this section:

This section describes how to install and configure an event listener for the iWay Application Adapter for J.D. Edwards EnterpriseOne on an AS/400 platform. Outbound (event) processing on AS/400 requires the configuration of an Event Stub and a configuration file (iwoevent.cfg).


Top of page

x
Configuring the iwoevent.cfg File

The iwoevent.cfg file contains connectivity information that is read by the Event Stub to communicate with J.D. Edwards EnterpriseOne.



x
Procedure: How to Configure the iwoevent.cfg File

To configure the iwoevent.cfg file:

  1. Using the CRTDIR command, create a directory on AS/400 that is accessible by the J.D. Edwards EnterpriseOne application server. For example:
    CRTDIR DIR('/e810sys/outbound') DTAAUT(*RW)
  2. Copy the iwoevent.cfg configuration file to the directory you just created, for example:
    /e810sys/outbound
  3. Create a directory using the alias name that is specified in the iwoevent.cfg file.
  4. Add an environment variable called IWOEVENT_HOME for the J.D. Edwards EnterpriseOne application server.

    The value should be a full path to the directory that you specified in Step 1, for example:

    ADDENVVAR ENVVAR(IWOEVENT_HOME) VALUE('/e810sys/outbound') LEVEL(*SYS)

    If the iwoevent.cfg configuration file has tracing enabled (trace=on), the iwoevent.log trace file is created in the IWOEVENT_HOME directory.



x
Reference: Sample iwoevent.cfg Configuration File

You can use the following sample iwoevent.cfg configuration file for reference purposes:

common.trace=on
alias.Gopi=172.30.244.136:1234,trace=on
trans.JDEAB=Gopi

Top of page

x
Configuring the Event Stub

The Event Stub for the iWay Application Adapter for J.D. Edwards EnterpriseOne must be installed on the AS/400 platform by an administrator.



x
Procedure: How to Configure the Event Stub

To configure the Event Stub:

  1. In the iSeries green console, use the CRTLIB command to create a temporary library. For example:
    CRTLIB IWAYTEMP
  2. Use the CRTSAV command to create an online save file in the library you just created, for example:
    CRTSAVF IWAYTEMP/IWAYSAV
  3. Using FTP, upload the iwaysav.sav file to your iSeries system. For example:
    FTP YourSystemNameLoginBIN
    PUT IWAYSAV.SAV IWAYTEMP/IWAYSAV

    where:

    YourSystemNameLogin

    Is the name of your iSeries system.

  4. In the iSeries green console, enter the following command:
    RSTLIB SAVLIB(IWAYPLUGIN) DEV(*SAVF) SAVF(IWAYTEMP/IWAYSAV)

    A new library named IWAYPLUGIN is created, which contains one object named EVENTPLUG.

    Note: Using the P0047 (Work With Data Export Controls) application, you must specify the Function Library as IWAYPLUGIN/EVENTPLUG.


iWay Software