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.  seton function

    Posted 09/12/12 08:34 AM

    Originally posted by: Jaango


    I have a type tree of xml, converting to a copybook output. The copybook output should have one binary field, whose bits should be set based on the presence of some elements in the input xml.

    How can i do this? How to use SETON function, as my input is an xml type tree?Seton will accept only binary data. This map has to be deployed in datapower.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 2.  Re: seton function

    Posted 09/19/12 04:49 PM

    Originally posted by: repanzer1


    Is there any reason you don't just set the field in the type tree to binary and just populate it in the map, populating it based on the presence of the elements in the XML?

    Anytime I have a request such as yours and I'm not sure what to do, I build a simple map with just an output card, and have a bunch of fields, and set one to text, another to binary, another to packed decimal, then I populate each with the same value, then view it and see what I got.

    Setting fields in a copy book to USAGE=COMP (or COMP-3, or what ever), is the extent of binary use I have done. I guess I just don't understand why someone would use binary, I mean, when it comes down to it, all characters or data is processed as binary at the lowest level the computer processes in. Like, if I type the ASCII character "A", which is HEX 41, the computer breaks it down to binary none the less, I thought.

    Any one have any info in regards to that?
    There are 10 types of people in this world. Those who understand binary and those who don't.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange