How to pass data file name as a parameter to the control file ? [message #247246] |
Mon, 25 June 2007 04:27 |
prabhuapps
Messages: 79 Registered: June 2005 Location: Bangalore
|
Member |
|
|
Hi All,
I am using Oracle 10.0.2.0
I need to run the sql loader command from a shell script.
sqlldr userid=apps/apps control=$CTL_DIR/XXSUNXMLTPIMP.ctl
data=$DATA_DIR/$DATA_FILE.......
My requirment is, the target table(XXSUN_TARGET) should have the data with the data file name for the reference.
The data file name will keep on change. So in control file I can't use that as a default value.
Is there a way, where I can get the data file name as a parameter to the control file ?
Regards,
Prabhu
|
|
|
|
|
|
|