I need to create a code to extract Data from Oracle DB (which can be passed using parameter), but now those parameter which has already declared, i need to passed the value to another text file.

This text file will be pick-up by a loader as a batch.

The text file is actually is a template, so i only need a few fields to be change.

Can anyone help me please? Thanks.