IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
 View Only
Expand all | Collapse all

is there any way to get Schema for .mts File

  • 1.  is there any way to get Schema for .mts File

    Posted Wed June 01, 2016 09:34 PM

    Originally posted by: Abhilash_WTX_EDI


    HI Team, 

     

    i want to make changes in IDOC typetree each segment,so iif do those changes manually its time consuming.So i m trying to create a map to do this job.

     

    For this i am changing typetree to .mts file then i want to feed this .mts file to map.But if we have schema for this it will be much easy .

     

    Do we have any way to get this .mts file schema .?

     

    Thanks


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


  • 2.  Re: is there any way to get Schema for .mts File

    Posted Thu June 02, 2016 05:01 PM

    Originally posted by: RichMcFate


    I'm not aware that IBM publishes a schema, but there are typetrees that describe the mts file.  If you have the Design Studio installed, take a look at <itxinstalldir>\examples\dsgnstud\ttmaker.  There are examples in there for both an import and an export.

    I have personally used the import to build a map that will turn an IDoc type tree into a corresponding XML type tree.


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


  • 3.  Re: is there any way to get Schema for .mts File

    Posted Mon June 06, 2016 12:58 PM

    Originally posted by: paul.brett


    IBM supplied a DTD - 'ttmaker60.dtd'.

    There are many tools available across the Internet to create a Schema from a DTD.  (Google DTD to Schema converter)

    Perhaps you could try this route?

    Thank-you

    Paul

    Follow me on Twitter


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


  • 4.  Re: is there any way to get Schema for .mts File

    Posted Mon June 06, 2016 10:03 PM

    Originally posted by: Abhilash_WTX_EDI


    Hi paul ,

     

    Thank you so much !!!

     

    I have used the same dtd and created XML typetree and feed the XML format type tree to the map and i could see its validating successfully.Then i made changes to XML in map For changing all fields to optional and also changed the component rule .for all  IDOC segments.Now again i am trying to import this XML to typetree but i am getting an error as mentioned below Error in ITX 9.0.

     

    Error 2 reference 0: Invalid syntax in command line.
    Error 39 reference 0: Cannot save type tree specified in last
    NEWTREE= command.
    

     

    I have found your response in Developers works on second error .

    It usually means that the .MTT file exists, and cannot be overwritten.I have checked in that way as well but i am not able import.

     

    I have gone through some of the IBM portals i could see that this is an product issue but resloved after 8.2 version. solution as mentioned below.

    http://www-01.ibm.com/support/docview.wss?uid=swg1PM13103

    Fixed a problem with Type Tree Maker maps where they now handle
    apostrophe exclude restriction in the Description fields of the
    type tree being generated from the external type tree script
    file.
    

     

    Could ypu please give me some clue to resolve issue.

     

    Thanks.


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


  • 5.  Re: is there any way to get Schema for .mts File

    Posted Tue June 07, 2016 03:25 AM

    Originally posted by: paul.brett


    Does your NEWTREE= command include an apostrophe?

    Are you using WTX 8.2.0.4 or lower?  If yes, then you're using an unsupported version.  Can you upgrade?

    Thank-you

    Paul

    Follow me on Twitter


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