dbTalk Databases Forums  

Call Sqlldr from DOS Batch.

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Call Sqlldr from DOS Batch. in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PowerOne
 
Posts: n/a

Default Call Sqlldr from DOS Batch. - 03-24-2008 , 12:26 PM






Hi,

I'm getting error when I try to call Sqlldr from a batch file:

My batch file look like this:
SQLLDR PARFILE=C:\TMP\mypar.par CONTROL=C:\TMP\mycontrol.txt ........

Someone told to set Oracle Var. but anyway the problem persist.

This the error message:
Message 2100 not found; No message file for product=RDBMS,
facility=ULMessage 2100 not found; No message file for product=RDBMS,
facility=UL

Note: The Oracle database in a machine different where I'm running the
batch.

Reply With Quote
  #2  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-24-2008 , 12:31 PM






On Mar 24, 1:26*pm, PowerOne <salazar.wi... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I'm getting error when I try to call Sqlldr from a batch file:

My batch file look like this:
SQLLDR PARFILE=C:\TMP\mypar.par CONTROL=C:\TMP\mycontrol.txt ........

Someone told to set Oracle Var. but anyway the problem persist.

This the error message:
Message 2100 not found; No message file for product=RDBMS,
facility=ULMessage 2100 not found; No message file for product=RDBMS,
facility=UL

Note: The Oracle database in a machine different where I'm running the
batch.
But you DO have your ORACLE_HOME variable properly set?

It would appear not.


David Fitzjarrell


Reply With Quote
  #3  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-24-2008 , 12:31 PM



On Mar 24, 1:26*pm, PowerOne <salazar.wi... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I'm getting error when I try to call Sqlldr from a batch file:

My batch file look like this:
SQLLDR PARFILE=C:\TMP\mypar.par CONTROL=C:\TMP\mycontrol.txt ........

Someone told to set Oracle Var. but anyway the problem persist.

This the error message:
Message 2100 not found; No message file for product=RDBMS,
facility=ULMessage 2100 not found; No message file for product=RDBMS,
facility=UL

Note: The Oracle database in a machine different where I'm running the
batch.
But you DO have your ORACLE_HOME variable properly set?

It would appear not.


David Fitzjarrell


Reply With Quote
  #4  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-24-2008 , 12:31 PM



On Mar 24, 1:26*pm, PowerOne <salazar.wi... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I'm getting error when I try to call Sqlldr from a batch file:

My batch file look like this:
SQLLDR PARFILE=C:\TMP\mypar.par CONTROL=C:\TMP\mycontrol.txt ........

Someone told to set Oracle Var. but anyway the problem persist.

This the error message:
Message 2100 not found; No message file for product=RDBMS,
facility=ULMessage 2100 not found; No message file for product=RDBMS,
facility=UL

Note: The Oracle database in a machine different where I'm running the
batch.
But you DO have your ORACLE_HOME variable properly set?

It would appear not.


David Fitzjarrell


Reply With Quote
  #5  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-24-2008 , 12:31 PM



On Mar 24, 1:26*pm, PowerOne <salazar.wi... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I'm getting error when I try to call Sqlldr from a batch file:

My batch file look like this:
SQLLDR PARFILE=C:\TMP\mypar.par CONTROL=C:\TMP\mycontrol.txt ........

Someone told to set Oracle Var. but anyway the problem persist.

This the error message:
Message 2100 not found; No message file for product=RDBMS,
facility=ULMessage 2100 not found; No message file for product=RDBMS,
facility=UL

Note: The Oracle database in a machine different where I'm running the
batch.
But you DO have your ORACLE_HOME variable properly set?

It would appear not.


David Fitzjarrell


Reply With Quote
  #6  
Old   
PowerOne
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-24-2008 , 06:25 PM



I set it like this:
set $ORACLE_HOME=C:\ORANT\BIN
set $ORACLE_SID=DBNAME

I missed something? or Am I doing something wrong?

Reply With Quote
  #7  
Old   
PowerOne
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-24-2008 , 06:25 PM



I set it like this:
set $ORACLE_HOME=C:\ORANT\BIN
set $ORACLE_SID=DBNAME

I missed something? or Am I doing something wrong?

Reply With Quote
  #8  
Old   
PowerOne
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-24-2008 , 06:25 PM



I set it like this:
set $ORACLE_HOME=C:\ORANT\BIN
set $ORACLE_SID=DBNAME

I missed something? or Am I doing something wrong?

Reply With Quote
  #9  
Old   
PowerOne
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-24-2008 , 06:25 PM



I set it like this:
set $ORACLE_HOME=C:\ORANT\BIN
set $ORACLE_SID=DBNAME

I missed something? or Am I doing something wrong?

Reply With Quote
  #10  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: Call Sqlldr from DOS Batch. - 03-25-2008 , 03:12 AM



PowerOne <salazar.willy (AT) gmail (DOT) com> wrote:
Quote:
I set it like this:
set $ORACLE_HOME=C:\ORANT\BIN
set $ORACLE_SID=DBNAME

I missed something? or Am I doing something wrong?
This looks completely wrong.

- Using "set $VAR" to set variable VAR is wrong on every shell I know.
Including MS/DOS.
- C:\ORANT\BIN sounds very much like the wrong location.

Is C:\ORANT\BIN the directory that contains "sqlldr.exe"?

Then you should try:

set ORACLE_HOME=C:\ORANT
set ORACLE_SID=DBNAME

Check that the environment variables are set currectly by using "set".

Yours,
Laurenz Albe


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.