Create dynamic control file in java from template

StyncNinc

New Member
I need to create a control-file (for SQLLoader) depending on some variables (filename, bad-filename, table to load into, etc).Right now I have a method in java that creates the file and works fine. My problem comes when I have to modify the structure of that control file. I need to change that in java source code, compile, undeploy previous app, deploy the new one, just to change that control's file structure.I was wondering if there is a way to make a template where I just pass the variables (mentioned above) but outside java, let's say some kind of xml or something, so I just change that "template" and voil
 
Back
Top