I'd try the Sybase and Oracle forums and look for references to the development language of your choice.
You might also consider breaking the task into two halves. One to read the data and create a "neutral" file format. The other to write the data from the "neutral" format.
This would isolate the database specific parameters and problems. After you have it working...you could try combining them into a single executable.
Good luck,