![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sqlldr end of file | raippl | Shell Programming and Scripting | 2 | 01-28-2008 05:55 AM |
| Rsh & Sqlldr | epall | Shell Programming and Scripting | 8 | 01-02-2008 03:40 AM |
| how to know sqlldr error? | DILEEP410 | UNIX for Dummies Questions & Answers | 3 | 12-17-2007 07:14 AM |
| value too large for column : sqlldr | DILEEP410 | UNIX for Dummies Questions & Answers | 1 | 12-13-2007 10:31 AM |
| help getting records loaded from sqlldr log | ecupirate1998 | Shell Programming and Scripting | 0 | 07-28-2005 10:18 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
sqlldr help
1.The below script works perfectly fine in dev. However, i have been told that i cannot hardcode the password into the file during production impementation. Is their way i could ask the user to enter the password when the script is executed
2. I have seven different files each of which needs to be loaded to a different table. eg file table a 845 b 123 ( i am just making this up ) Like that there are seven differnt file and tables If i have to use control file, sql ldr to load data, i would have to have a ctrl file,data file and a shell script shown below. which means 7*3 = 21 files in total Is there a way i could use just one shell script that has all the ctrl files info and data file location to process all the files ? SHELL SCRIPT export USERID=schema@username/password export CTRL_FILE_HOME=/SrcFiles/ export DATA_FILE_HOME=/SrcFiles/ #************ Load Data Elements info ****************************** export CTRL_FILE_NAME=DEA.CTL export DATA_FILE_NAME=DEA.DEL sqlldr control=$CTRL_FILE_HOME$CTRL_FILE_NAME userid=$USERID skip=0 ERRORS=20000 data=$DATA_FILE_HOME$DATA_FILE_NAME |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|