IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
 View Only
  • 1.  WTX BCD format

    Posted Tue September 21, 2010 01:41 AM

    Originally posted by: PoojaG


    Hi

    I have a input type tree with data field 'A' of type TEXT.
    However, I need to transform 'A' to BCD to send it to mainframe. In output cobol copy book, it type is COMP-3.
    How do I transform it in the ouput type tree so that I can send it to main frame of type COMP-3 which I assume is BCD in WTX.

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


  • 2.  Re: WTX BCD format

    Posted Tue September 21, 2010 03:57 AM

    Originally posted by: SystemAdmin


    have you seen the BCD functions? e.g. BCDTOTEXT() and TEXTTOBCD(), it sounds like they would work for you.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 3.  Re: WTX BCD format

    Posted Tue September 21, 2010 04:20 AM

    Originally posted by: PoojaG


    I see pack function as well.
    Is there any difference between packed decimal and BCD?
    What is COMP-3 equivalent in WTX?
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 4.  Re: WTX BCD format

    Posted Tue September 21, 2010 04:31 AM

    Originally posted by: SystemAdmin


    You probably need to do some research and examine your data more closely to confirm the format -
    e.g. http://www.3480-3590-data-conversion.com/article-cobol-comp.html has some useful information.

    >Is there any difference between packed decimal and BCD?
    they are similar but not the same.

    >What is COMP-3 equivalent in WTX?
    COMP-3 should be the same as BCD - see the link.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange