File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Problems with SQLLDR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Problems with SQLLDR" Watch "Problems with SQLLDR" New topic

Problems with SQLLDR

Joe Joseph

Joined: Jun 21, 2006
Posts: 20

Please bear with me as the Question i am goin to ask me sound silly.
I get the following error when i run the SQLLDR command on a Unix box.
The SQLLDr command syntax is correct, yet i get the below error:
"SQL Loader errror output: Message 2100 not found; No message file for product=RDBMS, facility=ULMessage 2100 not found; No message file for product=RDBMS, facility=UL".
If i google on this error it indicates that some Oracle environment variables like ORACLE_HOME, ORACLE_SID.
I have 2 questions regarding this:
1. How can i check what the ORACLE_HOME, ORACLE_SID variable values on Unix. if i echo on these variables it displays blank
2. My SQLLDR command is something like this /usr/local/oracleclient-9i-64/bin/sqlldr userid=testdev/testdev01@O02TST0 control=/usr/local/ccms/tst//jclass/properties//aval.ctl .....
As you see "O02TST0" is the HostName i am trying to connect to. How would SQLLDR resolve the HostName? Will it look in tsnnames.ora file to resolve it? If that is the case, then where is the tnsnames.ora file typically located on Unix?

Please help
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32818

Please don't post the same question in multiple forums. I'll close this one and leave the other.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Problems with SQLLDR
It's not a secret anymore!