IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
Expand all | Collapse all

Using Data Audit Settings to track missing XML data?

  • 1.  Using Data Audit Settings to track missing XML data?

    Posted 06/10/08 01:09 PM

    Originally posted by: SystemAdmin


    Mercator 6.7
    Windows Server 2003/XP SP2

    Is there a way to use the data audit settings to write an error to an audit log when a mandatory input field is missing in an XML file? So far I can only generate an error at the Document and Global levels. If I attempt to track anything below those levels, I get an empty DataLog section in the audit log. Is the behavior any different in 8.1/8.2? What if an XSD is used directly rather than a type tree?

    Thanks,
    Jim Divoky
    EC Solutions, Inc.
    330-606-6826
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: Using Data Audit Settings to track missing XML data?

    Posted 06/10/08 01:21 PM

    Originally posted by: snutakki


    If it's just one field or a couple of fields that you want to check and make sure they are mandatory then i would simply make them optional in the type tree and tehn check if they are present or not on the output rules and if absent use the FAIL function to force the message to fail. Use a meaning full error message in the FAIL and then you can pick that error message from the Audit Log.
    hope that helps.

    thanks,
    cai
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender