You can use a COBOL program or file utility (maybe FileAide?) to export from VSAM to fixed length fields in flat text, and then read that in Java. Substring out the fields using from and length information.

CSV is a bit trickier write and read because you have to escape commas and quotes and such.

Do fixed-length records sound like something you could try?

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi

For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?