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.

 View Only
  • 1.  How to create Flat File Schema For .txt file contents?

    Posted Mon September 19, 2016 09:00 AM

    Hello

    How to create and process text file contents below.

    Text file Contents-
    ±------------±----±-----±-------+
    |Sort criteria|Ascdg|Descnd|Subtotal|
    ±------------±----±-----±-------+
    |Group | X | | |
    ±------------±----±-----±-------+
    valid to 14.09.2016

    ±----±----+
    |ABC|DEF|GHI|
    |45 |56 |67 |
    |78 |78 |90 |
    ±----±----+

    Text file Content is flat file appended with additional data.

    Can someone please suggest how to extract flat file from text file and process the same.

    Best Regards

    Bhavna Vasanth


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: How to create Flat File Schema For .txt file contents?

    Posted Wed September 21, 2016 05:29 PM

    sample data is not very clear. will you be able to upload file here?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: How to create Flat File Schema For .txt file contents?

    Posted Thu September 22, 2016 01:43 AM

    Sample file is attached.

    Flat file data is extracted now by skipping headers from file.

    Any ideas on how to skip the additional line that is in end of file.

    It appears in the extracted flat file records
    sample.txt (311 Bytes)


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 4.  RE: How to create Flat File Schema For .txt file contents?

    Posted Thu September 22, 2016 06:18 AM

    Deleted extra document at the end using pub.document:deleteDocuments service .Topic is closed.

    Thank you!

    Bhavna Vasanth


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 5.  RE: How to create Flat File Schema For .txt file contents?

    Posted Fri September 30, 2016 04:38 AM

    Cool, you resolved issue by yourself. You proved self help is the best help :smiley:

    Thanks,


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods