aspose file tools*
The moose likes JDBC and the fly likes Problems with SQLLDR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problems with SQLLDR" Watch "Problems with SQLLDR" New topic
Author

Problems with SQLLDR

Joe Joseph
Greenhorn

Joined: Jun 21, 2006
Posts: 20
Hi,

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30324
    
150

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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with SQLLDR