FOR_EACH_TXDOCT

LANSA Composer

FOR_EACH_TXDOCT

This is an iterator activity.  It will iterate for each transaction set (or message) registered for the specified transaction document.  For each iteration, it provides the control numbers and transaction document register staging file keys that identify the transaction set (or message).

Typically a process using this activity specifies further processing directives nested beneath this iterator activity to perform further processing related to the transaction set (or message).

INPUT Parameters:

DOCNUMBER : Required

Specifies the transaction document envelope number whose registered transaction sets (messages) are to be iterated.

OUTPUT Parameters:

CTRLNUMBER_IC :

Upon each iteration, this parameter will contain the interchange control number for the current transaction set (message).

CTRLNUMBER_GP :

Upon each iteration, this parameter will contain the group control number for the current transaction set (message).

CTRLNUMBER_MS :

Upon each iteration, this parameter will contain the the transaction set (message) control number for the current transaction set (message).

DOCNUMBER_IC :

Upon each iteration, this parameter will contain the the internal document interchange sequence number for the current transaction set (message).  This value corresponds to the key field DXXINTID in the staging database files DXX2IN, DXX3GP and DXX4MS.

DOCNUMBER_GP :

Upon each iteration, this parameter will contain the the internal document group sequence number for the current transaction set (message).  This value corresponds to the key field DXXGRPID in the staging database files DXX3GP and DXX4MS.

 

DOCNUMBER_MS :

Upon each iteration, this parameter will contain the the internal document transaction set (message) sequence number for the current transaction set (message).  This value corresponds to the key field DXXMSGID in the staging database file DXX4MS.

DOCDATAKEY01DOCDATAKEY02
DOCDATAKEY03

DOCDATAKEY04

DOCDATAKEY05

DOCDATAKEY06
:

Upon each iteration, these parameters will contain the "application-defined" staging file key values for the current transaction set (message).