Hi All,

I'm using XIB 2.1.1 + SP3 and Datamapper 3.1.0

According to the Datamapper guide, it is mentioned that we can track errors in mapping as below

** To enable the error tracking functionality in a map program the MAPERRORTRACKING directive is set in the map when generating the map program.To implement error tracking Add //MAPERRORTRACKING in the description field of the Map definition.

and i'm using sample code given in the doc it self

# --------------------------------------- Main - Event
DECLARE PUBLIC STATEMENT Event IN $event DATA IN $data
{

# User added code
IF $event = $DMevent_ErrorWriteOutput {
DECLARE $mapObjName STRING;
DECLARE $errorTxt STRING;
DECLARE $outputDataTreePath STRING;
DECLARE $inputDataTreePath[] STRING;
DECLARE $fieldDescription[] STRING;

FOR $ix = 1 TO DMU.GetNrOfErrors() {
DMU.GetError $ix
MAPOBJNAME $mapObjName
ERROR $errorTxt
DATATREEPATH $outputDataTreePath;
LOG FORMAT("Error(%d): %s",
$ix, $errorTxt) TYPE "DEBUG";
MAPTRACKING.GetCorrelations Map.Name() & ".x4"
OUTPUT $outputDataTreePath
OUTOBJECT $mapObjName
INPUT $inputDataTreePath
DESCRIPTION $fieldDescription;

FOR $ix = 1 TO ARRAYSIZE($inputDataTreePath) {
LOG FORMAT("Field %s, originated from field %s,
descr: %s", $outputDataTreePath,
$inputDataTreePath[$ix],
$fieldDescription[$ix])
TYPE "DEBUG";
}
}
} # End user added code
RETURN;
}


1. But when i try to build it it throws some errors, have any once come across this ?

Errors:
mainDMgen Done generating source code
Generation OK !
Compiling Datamapper Component...
/opt/Axway/xib/xib/local/user/kavindra/4edi/pgm/dm_ix_nmsblacklist_csv_to_xml.s4: 230: ERROR: function "OUTPUT.GetNrOfErrors" is not declared
/opt/Axway/xib/xib/local/user/kavindra/4edi/pgm/dm_ix_nmsblacklist_csv_to_xml.s4: 241: ERROR: statement "OUTPUT.GetError" is not declared

3. Are there any patches available to solve this or any one know how to eliminate the errors ?