IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
#Supplychain
 View Only
  • 1.  Cobol Copybook layout to XML mapping with Repeating groups

    Posted 12/22/10 10:48 PM

    Originally posted by: D0FD_Prinu_Nazeem


    Hi, We are working on a WTX map that map a cobol fixed length layout to XML. The need is to finally deploy in datapower to use it for transformation. As part of the cobol copybook, there is a repeating group which is defined as given below.

    IM05-GRP-REPEATING-INFO OCCURS 0 TO 101 TIMES
    DEPENDING ON IM05-NUM-OF-OCCURANCES.

    There is a corresponding group with elements in xml as defined below
    <xs:complexType name="AllRepeatingGroup">
    <xs:sequence>
    <xs:element name="RepeatingInfogrp" minOccurs="0" maxOccurs="101">
    <xs:complexType>
    <xs:sequence>
    ....
    ...
    We are using a function mapper to map the elements from the COBOL repeating group to the xml repeating group. After completing the map, it succesfully runs locally. When it is deployed to datapower, the repeating groups including the elements and tags are not coming after the transformation. Please suggest any solution to this problem.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: Cobol Copybook layout to XML mapping with Repeating groups

    Posted 12/24/10 04:03 AM

    Originally posted by: TarunB


    When running the map in Datapower, have you checked the audit log to see whether the map is actually completing successfully? Are you using the exact same data to test it on Datapower as you are locally?

    It would be worthwhile setting a Trace on the map when running it under Datapower. It is possible that your input data is not being read correctly, and this may only be generating a warning rather than an error, but it's enough to cause no output to be created.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange