IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Reading a flat file

    Posted 09/05/06 02:54 PM

    Hi friends,

           I am new to Webmethods ...i want a help from u guys....
    

    My problem is i have to read a flat file from one path and i have to insert into database. can any one detailly explain how to do this. i dont have any idea…

    the format of flatfile is

    1,raj,345;
    2,xyz,565;


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: Reading a flat file

    Posted 09/05/06 03:27 PM

    Rajesh,

    Welcome to wmUsers!!!

    Based on your format of you flatfile(csv),you need to create a FFSchema with comma seperated format select Delimiter option with record parser(newline),field or composite(,) with NthField option…

    Once you have created FFSchema use WmFlatFile Adapter services like(wm.flatfile:convertToValues–for parsing flatfile and it creates IDATA structure values then map the flatfile values to your Insert JDBC Adapter Service to insert into database)…

    Also go thru ISFlatFileSchemaUserguide,JDBCAdapterUserguide for basic starting…

    Please use search in this forum on defining csv schemas,its been discussed lot of other threads,JDBC InsertSQL AdapterService related information.

    HTH,
    RMG


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Reading a flat file

    Posted 09/05/06 03:42 PM

    Thank you for your kind and fast response i will gothrough the schema defs or CSVs and then ping you back…


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB