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.  Flat File Schema Validation - Delimited flat file

    Posted Mon October 17, 2016 08:28 AM

    Dear All,

    I have created a flat file schema for a Tab delimited flat file with 5 fields.
    Delimiter - Tab
    Record identifier - CRLF / New line

    When i used convertTovalue with a file which has 6 fields in one of the record, i was expecting a ‘false’, but the result for validate is ‘true’

    My intention is, if there is a mismatch in the fields numbers, than defined, i need to get validation error. Can anyone suggest how to accomplish it.

    Thanks
    Anish


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Flat File Schema Validation - Delimited flat file

    Posted Mon October 17, 2016 11:25 AM

    Hi Anish,

    can you check the resulting document after convert to value, if there is something like a *body content?

    What is your IS version?
    Fixes for IS and/or FlatFile?

    Did you have a look at the FlatFile-Developers-Guide?

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 3.  RE: Flat File Schema Validation - Delimited flat file

    Posted Mon October 17, 2016 02:51 PM

    Hi, Anish. Please check your record definition (Flat File Structure) tab and confirm that the value for the ‘Check Fields’ property is ‘True’. You may also wish to set the ‘Allow Undef Data’ property to ‘False’.

    More details can be found in the Flat File Schema Developer’s Guide.
    Thanks,
    Mary


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Flat File Schema Validation - Delimited flat file

    Posted Tue October 18, 2016 08:05 AM

    Hi,

    thanks to Mary for enhancing the answer with more details.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 5.  RE: Flat File Schema Validation - Delimited flat file

    Posted Wed October 19, 2016 08:22 AM

    Thanks Mary,
    It worked. Since I was using the ‘default record’ option, I couldn’t notice it in FF schema. For my case, I had to set it at the record level in FF dictionary.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods