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.  Conversion problem from copybook to xml

    Posted 05/06/11 07:08 AM

    Originally posted by: Jaango


    Hi Everyone,

    I am trying to transform the response message from mainframe, to xml in utf8 format. I was able to build and run the map successfully. However the output xml is weird. The values of the input cobol file is directly copied to the xml, from the respective offsets, as shown below. I have checked the data languages and it is from ibm 37 s 90 to utf 8. What am I missing here. Please help.

    The output xml

    <dsures:dsuprofile4rsp xmlns:dsures="http://www.DSUPF4RSP.Response.com">
    <dsures:response_status>ð</dsures:response_status>
    <dsures:gds_completion_msg>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</dsures:gds_completion_msg>
    <dsures:paperless_flag>@@</dsures:paperless_flag>
    <dsures:statement_view_flag>@</dsures:statement_view_flag>
    </dsures:dsuprofile4rsp>

    The input file that I gave, attaching, which is a dat file.(dsuprofileResponse.dat)


    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 2.  Re: Conversion problem from copybook to xml

    Posted 09/19/14 05:12 AM

    Originally posted by: paul.brett


    I'm bumping this old thread, to point out some observations.

    1.  The post was not marked as a question.

    2.  Although a testcase was attached, it does not include any Typetrees or the correct COBOL Copybook to create the correct Typetree for input.  The XML Schema was included, but no details on whether the Classic or Xerces importer should be used.

    When attempting to illicit help from the WTX forum members, please always provide as much detail as possible, at least enough that anybody can go in 'cold' and reproduce the issue.

    As you can see, the post was made in 2011, and has had no replies.

    Jaango, in the unlikely event that you're still interested in a resolution on this - please could you post additional details and files?

    Thank-you and keep those posts coming.

    Paul

    Follow me on Twitter


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange