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.  input excel file

    Posted 12/05/07 01:02 PM

    Originally posted by: SystemAdmin


    1)Is it possible to take excel sheet as input to the map.Incase what should be given as delimiter and terminator.
    2)what is MDG file.why it is created automatically?
    thanks in advance
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 2.  Re: input excel file

    Posted 12/05/07 01:12 PM

    Originally posted by: SystemAdmin


    1, only if you save it as a csv, which is a comma delimited, <CRLF> record terminated file. ".xls"'s have a ton of Excel code in them.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 3.  Re: input excel file

    Posted 12/05/07 03:38 PM

    Originally posted by: NancyR


    You need to create a named range in your spreadsheet. Then create an ODBC data source using that range. Then you can use the Database Interface Designer to create the type tree.
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 4.  Re: input excel file

    Posted 12/05/07 04:27 PM

    Originally posted by: SystemAdmin


    Nancy...can I call you Nancy? ;)
    May I ask, how did you learn how to do that? I just replicated what you said and created the type tree, where did you learn that? Was it because you've done ODBC's with Excel named ranges before, and knowing you could connect to ODBC's via the Database Interface designer, and you just gave it a shot?

    Cool thing though. So rather then having to drop the spreadsheet to a csv, you name the range and you can point the input card to it?

    Thanks for the info!
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 5.  Re: input excel file

    Posted 12/05/07 05:17 PM

    Originally posted by: NancyR


    I have no idea but you can bet I probably stole it from someone else.

    And, sure, you can call me Nancy. Mom and Dad did.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 6.  Re: input excel file

    Posted 12/11/07 05:18 AM

    Originally posted by: janhess


    It's in the documentation somewhere but I can't remember where. The only problem with this solution is that the spreadsheet needs to be open to ba able to access it. This can be rather limiting.

    I found this in Help

    DDEQUERY

    The DDEQUERY function allows you to interface to other Windows applications such as Trading Partner PC, Excel, and so forth, provided that certain criteria are met. For example, if you receive an Excel spreadsheet file, you must have the appropriate version of the Excel application installed (that is compatible with the file received) and the application must be open.

    Syntax

    DDEQUERY (single-text-expression, single-text-expression, single-text-expression)

    Meaning

    DDEQUERY (application_name, topic, text)

    Returns

    This function returns a single-text-item.
    Returns a single-text-item from an application.

    Example

    DDEQUERY ( "excel" , "http://MKTPRICE.XLSSheet1" , "R8C1:R14C3" )

    In this example, DDEQUERY is used to get data from an Excel spreadsheet. The third argument, R8C1:R14C3, specifies the location of the data in the spreadsheet. (In Excel, the 8th row, 1st column to the 14th row, 3rd column is A8:C14.) The content of this spreadsheet range is returned as a single text item.

    Uses

    As shown in the example above, you can use DDEQUERY to retrieve data from an Excel spreadsheet. Also, you can use DDEQUERY to ask Trading Partner PC for sender or receiver IDs for particular trading partners.

    Message was edited by: janhess
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 7.  Re: input excel file

    Posted 12/05/07 03:50 PM

    Originally posted by: SystemAdmin


    how to create the named range for the sheet.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 8.  Re: input excel file

    Posted 12/05/07 04:11 PM

    Originally posted by: NancyR


    Did you look in help for Excel?
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 9.  Re: input excel file

    Posted 12/05/07 05:17 PM

    Originally posted by: SystemAdmin


    rep, can u please explain us the process you have done in solving this. Thanks
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 10.  Re: input excel file

    Posted 12/05/07 05:35 PM

    Originally posted by: SystemAdmin


    I did exactly what NancyR said to do, and I did not know how to create a named range in Excel before I did it, but a two minute look up top the help option and I knew how. Look in Excel help to find out. All you have to do is select a range, find Name in the drop down menu, and name it. Once you do that, you set up an ODBC link. I don't mind answering questions about DataStage, but if you don’t know how to, you'll have to find out how to set up an ODBC link on your own. It's really not hard, but I am very busy.

    Once you establish the ODBC link, you need to use the Database interface designer, open a new database, point to the ODBC link, select the named range and create the type tree.

    That's as far as I went, because I currently do not have a need to use a spreadsheet as an input card, only a desire to learn.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 11.  Re: input excel file

    Posted 12/05/07 05:43 PM

    Originally posted by: SystemAdmin


    rep,Thanks verymuch for answering patiently.I am relatively new to this tool.But i understood how it should be done.
    thanks again to you and NancyR.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender