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 ?
Datamapper: Tracking errors in maps
Published in June 19th, 2009
Posted by Tony in Axway Forum Syndicate
No user responded in " Datamapper: Tracking errors in maps "
Subscribes to this post comment rss or trackback url
Social Network
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « May | Jul » | |||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | |||||
Recent Entries
- Release of the new Axway Web Support
- .nfs files consumed by synchrony
- CFT SSL Error
- CFT & SSL
- cft transfert
- Supported Client List?
- How to create Copilot user on Windows ?
- début dans cft
- User Exits - How to enable?!
- File containing parameters
Recent Comments
Translators
Categories
- 2008 Connections Conference
- Accountability
- Axway
- Axway Forum Syndicate
- Being Nice
- Bug Fixes
- Communication
- Community
- General
- How-To
- Integrator
- Integrator v2.1.1
- mobile technology
- New Website
- News
- Non-Technical
- Production Down
- Secure Relay
- Sorry
- SSH Keys
- SSL/TLS
- Support
- Synchrony
- Synchrony Gateway
- Synchrony Integrator
- Synchrony Sentinel
- Synchrony Transfer
- Technical
- The big company always wins
- Tip-of-the-day
- Uncategorized
- Upgrades
- Welcome
- Wells Fargo
- What to Expect
- XSR
Archives
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
Pages
Blogroll
- Axway - Axway’s Main Homepage
- Axway Support - The Official Axway Support Site
- Axway User Forum - ALL - RSS feed for all categories & forums
- Help With Axway Forum - A forum designated to answering questions
- Tumbleweed Support - The official Tumbleweed Global Support Site
Meta
Copyright (c) 2008 Axway User All rights reserved.