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
Expand all | Collapse all

EDI to FlatFile error while writing into a flat file

webMethods Community Member

webMethods Community Member12/05/03 09:37 PM

  • 1.  EDI to FlatFile error while writing into a flat file

    Posted 12/04/03 09:10 PM

    I am getting EDi and i need to write into a flat file(fixed length) . I have created a flat file dictionary and schema from that with recordWithNoID record name and gave references to fields.
    Flat file is created but in convertToString service output string, i am getting recordWithNoID along with given input values in the flat file .
    Is there any problem with Flat file schema? I tried by giving record reference also instead of giving field reference but did not work .
    can anyone come up with a solution? I need immediate response.


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: EDI to FlatFile error while writing into a flat file

    Posted 12/04/03 09:32 PM

    Reference to the above message
    The flat file is coming up with this error-
    first 14 characters are overlapped by recordWithNoID and then i am getting all the rest in a string format correctly
    anyone can throw light on it?


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: EDI to FlatFile error while writing into a flat file

    Posted 12/05/03 01:44 AM

    Seems like your record position is still set to 0. On Flat File Definition tab change the Start at Position of the Record Identifier at the bottom of the screen.
    You may also have to adjust the position within the within the schema

    HTH


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: EDI to FlatFile error while writing into a flat file

    Posted 12/05/03 02:21 AM

    So do i need to move the position from 0 to 14?( recordWithNoID is occupying) when i create flat file? but can you let me know why does recordWithNoID appear in the flat file? Does it come up while creating a flat file everytime?
    In another mapping, convertToString is throwing Null pointer Exception when schema is given to it .I have checked the values they r present in the pipeline .Could not find out where the problem is with flat file.


    #webMethods
    #edi
    #Integration-Server-and-ESB


  • 5.  RE: EDI to FlatFile error while writing into a flat file

    Posted 12/05/03 03:18 AM

    see this post where I previously posted the solution
    [url=“wmusers.com”]wmusers.com
    Let us know if this fixes the problem


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: EDI to FlatFile error while writing into a flat file

    Posted 12/05/03 09:37 PM


  • 7.  RE: EDI to FlatFile error while writing into a flat file

    Posted 12/05/03 09:39 PM

    Can you share your experiances with EDIFACT (inbound DELJIT message) if you have any ?


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 8.  RE: EDI to FlatFile error while writing into a flat file

    Posted 12/05/03 10:49 PM


  • 9.  RE: EDI to FlatFile error while writing into a flat file

    Posted 12/06/03 02:39 AM

    UN/EDIFACT inbound processing ( DELJIT message which is eqivalent to EDI 862 ) I am looking for guidence in processing that message using webMethods built-in services? I need to send it to TN also .


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: EDI to FlatFile error while writing into a flat file

    Posted 02/04/04 03:26 PM

    hi professionals,
    i am new to webMethods
    can u all help me out with steps of how to convert EDI to Flat FIle


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 11.  RE: EDI to FlatFile error while writing into a flat file

    Posted 02/04/04 11:42 PM

    EDI files are flat files, right? What is it that you need to do with your EDI file? I assume you want to parse the EDI file into its various record types, do something with those records and then write something out as another flat file, but with a different format from the original EDI document.

    You really need to read the documentation and to work through the samples and any available tutorials. The WM Users discussion forums are not meant to take the place of those things.

    We’re all happy to help you answer specific questions that you may have.

    Mark


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 12.  RE: EDI to FlatFile error while writing into a flat file

    Posted 02/05/04 03:57 AM

    Please also see the wmEDISamples package for excellent examples.


    #Integration-Server-and-ESB
    #webMethods
    #edi