i-effect Manual

Tasks from modules

For the different modules there are a number of tasks. The MAPGUI provides for the following modules task:

  • csv

  • db

  • edifact

  • flatfile

  • flatplus

  • tradacoms

  • x12

  • xml

 CSV

Task

Description

writeFile

Writes the previously collected data to the specified file.

DB

Task

Description

commitSource

Commits IMDb source module. Only to be used if:  

  • The target module DB's  

  • and the previous defined task "write file".

generateKey

Generates a unique key.

This key is stored in the DB Sequence IEFFECTDB.GenericKeySequence within i-effect.


The following SQL can be used to access the current or the next value

Next value:
SELECT NEXT VALUE for IEFFECTDB.GenericKeySequence FROM SYSIBM.SYSDUMMY1

Current value:
SELECT PREVIOUS VALUE for IEFFECTDB.GenericKeySequence FROM SYSIBM.sysdummy1


generateKeyFrom

Generates a key of a specified DB2 Sequence. Possible Sequence names are:

  • *EDIFACT

  • *FLATFILE

image2016-6-2 12:16:23.png

It also Custom sequences are possible. These need to be available only in the IEffect library.

read

Defines a read trigger to data from another table (TABLEID) query.

image2016-6-2 12:17:34.png

write

Enables a write trigger for a database row.

image2016-6-2 12:17:34.png

EDIFACT

Task

Description

aperakRegex

Performs a regex testing through to check the validity of a data element. Input is the associated data item .

image2016-6-2 12:21:29.png

aperakRegexDB

 

aperakSQL

 

closeSegment

Includes all segments with the specified segment Key.

image2016-6-2 12:31:46.png

newSG

Creates a new segment group with the specified group Key and includes all existing previously occurring open segments.

image2016-6-2 12:37:55.png

newUNH

Creates a new UNH segment within the current EDI file.

image2016-6-2 12:38:30.png

setCurrentNumberFormat

Replaces the standard number format for the next formatting.

image2016-6-2 12:39:42.png

Possible Values are:

1 - 0.0

2 - 0.#

3 - #.#

4 - #.0

Leading or Ending zeros are omitted.

setSourcePartner

Determines the partners with the help of the transmitter-IN (Based on the information recorded in i-effect partner).

image2016-6-2 12:41:53.png

setTargetPartner

Determines the partners with the help of the receiver-HIN (Based on the information recorded in i-effect partner).

image2016-6-2 12:41:53.png

writeFile

Writes the previously processed data to a file and clears the data.

FLATFILE

There are no tasks for Flat File System.

 FLATPLUS

Tasks

Description

writeFile

Writes the previously processed data to a file and clears the data.

TRADACOMS

Aufgabe

Beschreibung

closeSegment

Includes all segments with the specified segment Key.

image2016-6-2 12:31:46.png

getMessageCount

Returns the count of the messages with the message name: Previous message name.

image2016-6-2 12:47:48.png

writeFile

Writes the previously processed data to a file and clears the data.

X12

Tasks

Description

closeSegment

Includes all segments with the specified segment Key.

newLoop

Creates a new segment group for the specified group Key and includes all previously occurring open groups of the type.

newSt

Creates a new ST-segment within the current EDI file.

setSourcePartner

Determines the partners with the help of the transmitter-IN (Based on the information recorded in i-effect partner).

image2016-6-2 12:41:53.png

setTargetPartner

Determines the partners with the help of the receiver-HIN (Based on the information recorded in i-effect partner).

image2016-6-2 12:41:53.png

 writeFile

Writes the previously processed data to a file and clears the data.

XML

Task

Description

writeFile

Writes the previously processed data to a file and clears the data.