Hello everyone,
I'm trying to use the Open Database() function to create a data table from an Oracle db. I'm at a loss as to what I should do. If you could help with any advice then I'd be very much appreciative.
Here is what I've tried,
1) I started by creating the DSN,
File: DataWarehouse_RegEntry.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\DWHDB]
"Description"="Data Warehouse Database"
"Driver"="C:\\WINDOWS\\system32\\sqlsrv32.dll"
"Server"="scooby1.mydomain.com"
"Trusted_Connection"="Yes"
2) then in JMP as JSL Script I made the following function call,
dt_test = Open Database(
"DSN=DWHDB;
PWD=myP@ssword;
UID=myUsername;
Description=Data Warehouse Database;
APP=JMP;
DATABASE=Shipment_QA;
Trusted_Connection=Yes"
,
"--my sql command to pull the dt");
and when I run this I get an error.
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
I've even tried,
opening admin tools\ODBC, going to System DSN tab and trying to add/test a connection to scdobi01.cree.com with the UID and PWD provided. It says it can't connect.
----------------------------------------------------------------
The information that I've been given to make this connection is,
UserID(UID) = myUsername,
Password(PWD) = myP@ssword,
Hostname = scooby1.mydomain.com,
Port = 1521,
SID = prodooby,
Database Name = Shipment_QA
I appreciate any help or direction given. Thank you.
Sincerely,
Loysius