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.  Using unresolved rules from one map to another

    Posted 05/23/14 01:57 PM

    Originally posted by: edi1999


    I mapped an X12 input file to a single record in the output card, but the developers decided their could be multiple records in the input file so they changed it from 0:1 to 1:s.  When I used the new type tree all of my previous rules became unresolved (expected).  I created a new functional map to process multiple records.  Is there a way I can use those unresolved rules from the main map to the new functional map, or do I have to do them from scratch?

    Thanks.


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


  • 2.  Re: Using unresolved rules from one map to another

    Posted 05/27/14 02:17 PM

    Originally posted by: jvanboga


    It really depends on how your intial map and type tree were setup.  The problem is if your original map had all the respective rules at the runmap level file level output rules may have looked like 'field1:record:file'   The rule at the funtional map level would probably look more like 'field1:record'. 

    You could create a new runmap that calls a functional map that would work on the record level.  At that time you'd copy the output card from your current map to the new map, update the card's 'Type' and then replace in the card from 'record:file' to 'record'.


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


  • 3.  Re: Using unresolved rules from one map to another

    Posted 05/27/14 03:18 PM

    Originally posted by: edi1999


    Thanks jvanboga.  I had tried something similar but it was messy so I just printed out the unresolved rules (screen prints; WTX needs an option to do this) and re-entered all of them.  Since the decision making wasn't an isue this go-around it was much quicker than I thought.  Took me a couple of hours.


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


  • 4.  Re: Using unresolved rules from one map to another

    Posted 05/29/14 09:31 AM
      |   view attached

    Originally posted by: paul.brett


    If you believe that the option of printing unresolved rules would be helpful, you could enter this as a product enhancement.

    Alternatively, if you export the map source file, and then run the resulting XML though the enclosed map, you will end up with a text file that contains a newline separated list of the rules.


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

    Attachment(s)

    zip
    ExtractRules.zip   7 KB 1 version