Flat file with variable length

Hi,

Can you explain how Flat file schema with variable length works with small example. Please give me sample variable length file. i have gone through the documentation but not clear.

Regards,
Satish

1 Like

Hi,
I want to use variable length flat file as follows
08A1,abcde
09B1,abcedf

I created ffDictionary and ffSchema based on the above format.While extracting using “pub.flatFile:convertToValues” I am getting the following exception
“com.wm.app.b2b.server.ServiceException: java.io.IOException: [FFP.0014.0003] Variable Length file format invalid, file ended before record filled”.
If it is fixed length and Delimited then working fine.For variable length I am unable to get the records.Any suggestions please let me know. :roll:

Refer:

http://idnxchange.com/webmethods-blogs/step-by-step-flat-file-parsing-in-webmethods-82.html

good work …keep going!