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

Using variable length files in the Flat File Schema

  • 1.  Using variable length files in the Flat File Schema

    Posted Tue October 05, 2004 08:16 PM

    The flat file schema documentation states that the flat file schema will take a variable length record as input. The first two bytes should contain the record length.

    Does this mean that the max record length is 99? Are the two bytes encoded? Hex?

    Any help would be appreciated.

    Thanks!


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Using variable length files in the Flat File Schema

    Posted Wed October 06, 2004 10:32 AM

    It’s 2 hex bytes so 010a would be a record 266 long. Max record length would then be 0xFFFF (65535). Note that the 2 bytes used for the record length are not included in the record itself.

    This is handled by the convertToString and convertToValues services. so the best way to create records of this type is by using the convertToString service.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods