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.  schema to cobol mapping - wtx

    Posted 01/24/12 07:03 AM

    Originally posted by: Jaango


    Hi,

    I have a mapping from xml schema(number) to copybook, copybook field is a number PIC S9(03). If my input xml element is 67, it is getting transformed to 06G. If the input is 65, getting transformed to 06E, in copybook. 14 to 01D, 15 to 01E. -14 to 01M, -15 to 01N. We are not getting the logic how this is trnsformed like this. We would need to perform a similar operation in the response, that is converting 01N to -15, using xml(not sure how we can do this)
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: schema to cobol mapping - wtx

    Posted 01/24/12 08:08 AM

    Originally posted by: Jaango


    This is the case
    if the copybook(PICS9 03) contains (f1 f6 c4 - in hex), in xml it should be converted to 164, c stands for positive. However I see my xml element as 14R, which is the ascii display for f1 f6 c4. How should I define my xml element? Currently it is defined as integer.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender