Ingres ODBC connectivity from AIX
Post Author: iwakley
CA Forum: Data Integration
We were using BODI 11.5.1.5 with DataDirect Connect V5.1 and the Ingres 32bit ODBC driver which was all working ok.
To get over a problem with handling "smart quote" characters (as inserted by MS Word/Excel) from a SQL Server data source in an Oracle UTF8 destination we had to upgrade to BODI 11.7.3.2 and DataDirect Connect64 V5.2. We have installed the Ingres 64bit ODBC driver and updated the odbc.ini to reference the 64bit driver rather than the 32bit version but this doesn't work. Using the Ingres tools we can test ODBC connectivity to the database and this all seems to be working. The problem seems to be that the DataDirect Connect64 ODBC Driver Manager is unable to load the Ingres 64bit ODBC driver. Has anyone out there managed to get this working?
Post Author: iwakley
CA Forum: Data Integration
We were using BODI 11.5.1.5 with DataDirect Connect V5.1 and the Ingres 32bit ODBC driver which was all working ok.
To get over a problem with handling "smart quote" characters (as inserted by MS Word/Excel) from a SQL Server data source in an Oracle UTF8 destination we had to upgrade to BODI 11.7.3.2 and DataDirect Connect64 V5.2. We have installed the Ingres 64bit ODBC driver and updated the odbc.ini to reference the 64bit driver rather than the 32bit version but this doesn't work. Using the Ingres tools we can test ODBC connectivity to the database and this all seems to be working. The problem seems to be that the DataDirect Connect64 ODBC Driver Manager is unable to load the Ingres 64bit ODBC driver. Has anyone out there managed to get this working?
Similar Messages
-
Lost ODBC Connection from development environment
Using LV 7.1 and an Active-X based ODBC Connection scheme to a MySQL database which has worked flawlessly up until now. I've just written an application which accesses the database to generate a 'recipe' for our operators to follow. This is poked into a multicolumn listbox, and works perfectly from the compiled version. However, when I'm running the very same program in the development envirnment, I will get an error which indicates I have lost the connection to the database. Never happened from the built versions, and yes, I'm running exactly the same code. This is irritating, as when I'm trying to debug the SQL pieces, the code crashes. Happily, the compiled versions are working, but it makes me nervous when programs crash like this.
I am doing a listbox refresh every 60s or so, which involves accessing the database, reading a large chunk and displaying it. Im' also doing an ODBC conncetion check every 2s, and possibly some other database access depending on the operator input. MySQL is set up so that I can have 100 threads open at once, and I never approach that. I always open, do command, then close and destroy connections.
All I can think of is that there is a difference in the timing and the database access between the developement environment and the compiled versions.
Any thoughts anyone?Hi,
Yes, that is exactly what I have done. Built the executable which runs without problems.
I've also tried to strip the program down by simply running the piece which polls the database continually. This seemed to run fine until I ran another program which also accessed the same database. So, to summarize:
1. The development environment program with single loop running accessing the database every 2s or so runs fine.
2. The dev. env. app. running multiple loops possibly accessing the db concurrently crashes
3. The same program as 2 but built into an application runs fine.
MSB -
ODBC connection from Oracle to PostgreSQL
Hello All,
I need to connect from Oracle 10g to PostgreSQL.
Oracle 10.2.0.1 Standard Edition on Windows NT and PostgreSQL on another server.
I have some docs that say what to do (configuring the hsodbc etc), but 'am not sure on what all things to be installed(and where)
Where do i get the ODBC DRIVER for postgreSQL?
Is plsqlODBC(http://www.postgresql.org/ftp/odbc/versions/) the driver ?
Does oracle provide any driver (Generic ODBC driver ?, if so where do i get it from ? i have searched oracle dowload)
Do i need to install these ODBC drivers on both Oracle as well as PostgreSQL servers ?
TIA,
JJOraqcle does NOT probvide any "generic" odbc driver nor an ODBC driver that can connect to any other foreign database. Oracle only provides an ODBC driver for Oracle.
Have a look at: http://www.postgresql.org/download/products/2
it contains all necesary info. -
PostgreSQL ODBC connection from Crystal reports, currency domain
Hello,
I'm attempting to get Crystal reports working with PostgreSQL with an
ODBC connection, via psqlODBC. I can successfully establish the
connection easily. However, I have a domain called "currency", that
handles currency values:
CREATE DOMAIN currency
AS numeric(10,2);
ALTER DOMAIN currency OWNER TO manager;
fields of currency appear as "strings" in Crystal reports, and they
lack fixed precision ( the value 1.00 appears as 1, for example). Why
might this be? How can I get it to appear as a numeric type, which I
can find the sum of, etc?
Thanks,
SternoceraIf the currency field is appearing as a string in the crystal then you can convert it to currency by creating a formula using the function CCur().
Try creating a formula like this
CCur({currency field})
Now you can calcualte the sum on this formula.
Regards,
Raghavendra -
ODBC connect from Oracle to MySQL!
Dear All,
I know its not very much related to the subject of this forum but DBA's often have to perform such tasks.
I am in process of developing replication between Oracle and MySQL. For this I have planned to create materialized views in oracle that query MySQL database.
I am using Oracle 11gR1 on Linux for Oracle Server and MySQL is on windows based server version is 5.1.
I am stuck at the very first step that is to create a database link between Oracle and MySQL.
On Oracle's server, I did the following:
Installed unixODBC rpm (Installed successfully)
Installed mysql-connector-odbc (Installed successfully)
when i write this command odbcinst -j it gives the following information
unixODBC 2.2.11
D|RIVER........... : /etc/odbcinst.ini ; (my comments : Files exists)
SYSTEM DATA SOURCE : /etc/odbc.ini (my comments : File exists )
USER DATA SOURCE : /root/.odbc.ini (my comments : File DO NOT exists)
Now i tried to add the following entry in the file /etc/odbc.ini
[bssdata]
Driver = MySQL ODBC 3.51 Driver
DATABASE = bssdata
DESCRIPTION = views_on_bssdata
PWD =
PORT = 3306
SERVER = 192.168.0.68
UID = root
Now when i try to check the connectivity with the command:
isql -v bssdata root
Error: data source name not found, and no default driver specified.
ERROR: Could not SQLConnect
Anyone have tried this before, please help me out of it.
Regards, ImranHope these links help you :
http://www.pythian.com/news/1554/how-to-access-mysql-from-oracle-with-odbc-and-sql/
http://sysinfo.bascomp.org/2008/03/setting-oracle-heterogenous-service-mysql-to-oracle/
http://www.idevelopment.info/data/Oracle/DBA_tips/Heterogeneous_Services/HETERO_2.shtml
http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
Regards
Rajesh -
JDBC-ODBC connectivity from JSP page
hi
i am trying to connect a jsp page with database using jdbc-odbc driver. i have created a dsn with the name 'test' that connects to a database 'test' in SQL server. the following lines has been added to the web.xml file placed in the \WEB-INF folder
<context-param>
<param-name>
javax.servlet.jsp.jstl.sql.dataSource
</param-name>
<param-value>
jdbc:odbc:text, sun.jdbc.odbc.JdbcOdbcDriver
</context-param>
i have also placed the rt.jar file in the \WEB-INF\lib folder. but, when i run the jsp page and ty to make any database interaction, an expection occurs
java.lang.ClassNotFoundException : sun.jdbc.odbc.JdbcOdbcDriver
please helpI think you need to download the JDBC/ODBC driver jar file into your project. For example, if you need a JDBC driver for the Oracle database, you search google for 'oracle jdbc driver'. Its driver is something like classes14.jar. I suggest you create and test your database connection pool in a servlet so you will have an easier time debugging any issues in getting it to work.
Also, as the previous post points out, JSP is for displaying data and submitting user input back to the servlet. Put all your business logic in the servlet, put any data you get from the database in request scope by the servlet, dispatch to the JSP page so it can be displayed. This is a crude example. For a better design read up on MVC (Model View Controller) design. -
ODBC: connect from oracle to filmaker pro 7 to extract data
sorry for the cross post, i posted this in th ODBC forum, but that's in the windows.net subhead, so idunno.
here is is again:
we have a filemaker pro server and some of the data needs to be imported weekly into an oracle database.
my understanding is this can be done and it is roughed out in the "FileMaker 7 ODBC and JDBC Developer's Guide"...available here if anyone is interested:http://filemaker.custhelp.com/cgi-bin/filemaker.cfg/php/enduser/std_adp.php?p_faqid=5337
however, i know nothing about oracle, but i don't need to since there are people on staff to deal with that. i am presenting this connection option as the best way for the oracle guys here to get the data they need. the other option is for them (non-filemaker savvy people) doing exports and importing them into oracle. they don't want to do this because they don't like filemaker. i believe this whole process would be easier if i keep the oracle guys in what they know and love, oracle. once the extract was properly set up it could be done as cron job. all done.
so my question is, how would one accomplish this?
broad strokes that i could give to the oracle people to direct them.
i figure they could build a small custom app to do this, but i have no idea what is involved with that. or, perhaps the oracle application has the ability to run scripts?
any pointers would be helpful.
thanks!You can use Filemaker's built-in ODBC capability to push data from the FMP database into Oracle. Then you as a FMP developer can take responsibility for getting the data into Oracle and the Oracle guys don't have to deal with FMP at all.
You will need an ODBC driver for Oracle, and an ODBC DSN configured for connecting to the Oracle database. Then you will need to write a simple FMP script that traverses the FMP records you want to push and generate a SQL string that you pass to the Execute SQL script step. Here is an example:
Go to Record/Request/Page [First]
Loop
Execute SQL [No dialog; DSN: myDSN;
Calculated SQL Text: "UPDATE products_description
SET products_viewed=" & myFMPDatabase::Products_Viewed
& " WHERE products_id=" & myFMPDatabase::Products_ID]
Go to Record/Request/Page [Next; Exit after last]
End Loop
This assumes that you have an account with write access to the Oracle database, you understands its schema, and have enough knowledge of SQL to write simple INSERT / UPDATE statements.
Jonathan Monroe
Actual Technologies - ODBC for Mac OS X
http://www.actualtechnologies.com
[email protected] -
Can a SQL view see data from an ODBC connection?
Hi. I currently have an application that pulls data from a custom SQL view in my SQL database. This custom application can not be changed, so it expects to see the data exactly as presented by my custom SQL view. This works fine
when the data resides in SQL, but I am not sure if it is possible when the data resides outside of SQL. I’d like to connect to another type of database via an ODBC connection from my SQL database, and still utilize my custom SQL view. I would prefer to NOT
use the SQL database as a warehouse, and simply use it to pass data.
Is this possible? Thank you for reading.Hi Robet,
According to your description, you want to create view in SQL Server to pass data from OBDC database to custom application, right?
In this case, we can create linked server to access an ODBC database when you are using an ODBC data source. Linked servers can use the OLE DB Provider for ODBC without using an ODBC data source. You can refer to the link below to see the details.
http://technet.microsoft.com/en-us/library/ms191462(v=sql.105).aspx
Regards,
Charlie Liao
TechNet Community Support -
Connection between AIX and NT based Oracle
Hi There,
I am encountering the following errors while connecting between two Oracle 8.1.5 databases i.e AIX to Windows NT 4 service pack 4 (Note. Windows NT has got Personal Oracle 8.1.5) :
1. TNS-3505 error is coming while try to connect from AIX to NT.
2. ORA-12514 and ORA-12154 while trying to connect from NT to AIX. Mind it, setting up the TNSNAMES on NT didnt give any problem.
Is there any one out there to help me out.
Thanks in Advance
KVSYou can make ODBC calls directly in C or you can use a variety of higher-level API's (RDO, DAO, ADO, etc.).
Justin -
Data services on Linux to MS SQL ODBC connection
We have DS 4.1 SP2 running on Linux and trying to connect to MS SQL database via odbc. The admin guide tells you to modify the ds_odbc.ini file with an entry like this:
[test_Microsoft_SQL_SERVER]
Driver = <install_location>/lib/libodbc.so
RebrandedLib = TRUE
where install location is location of datadirect ODBC driver. But the problem is there is no libodbc.so in this library. There is a libodc.a file there instead.
Secondly, it also tells us to modify the file referenced by $ODBCINI with the following entry. In my case, ODBCINI also references to ds_odbc.ini under /dataservices/bin folder !!. Also, below it tells you to enter the /lib/DAmsssxx.so file location. But there is no such file under datadirect/lib folder. There is a DAsql25.so instead.
[test_Microsoft_SQL_SERVER]
Driver=<install_location>/lib/[DA][DD]msssxx.so
Description=DataDirect <current version number> SQL Server Wire Protocol
AlternateServers=
AnsiNPW=Yes
ConnectionRetryCount=0
ConnectionRetryDelay=3
Database=<database_name>
EnableQuotedIdentifiers=1
HostName=<SQL_Server_host>
LoadBalancing=0
LogonID=
Password=
PortNumber=<SQL_Server_server_port>
QuotedId=No
ReportCodePageConversionErrors=0
DriverExpirationBehavior=1
What should I do ? which file do I need to modify exactly and with which library ?? I don't have to modify the odbc.ini file at all ??
Do I need to install the Data direct drivers first ?? if so, how ?
Thanks
BVHi,
ODBC connectivity from your machine will not help as the connectivity to SQL Server will be established from the job server.
On the connectivity test, can you please check with your Linux admin. You can also refer to the following link for some details.
Links:
http://www.easysoft.com/developer/interfaces/odbc/linux.html
https://wiki.archlinux.org/index.php/Odbc
Can you please check the following link. this is specific to ODBC connectivity for Linux based job server.
Links:
http://wiki.sdn.sap.com/wiki/display/EIM/ODBC+connections+from+a+Linux+%28or+UNIX%29+jobserver
The below is for SQL server based connectivity from Linux.
Links:
http://wiki.sdn.sap.com/wiki/display/EIM/To+configure+DataDirect+ODBC+on+Linux+and+Unix
Or Please refer below thread
Link:
Data Services 4.0 connectivity to SQL Server 2005
Thanks,
Daya -
Odbc-connection with ms-access
hello,
this is my problem
if I migrate an MS Access db to Oracle with the OMW than is the ODBC connection, from MS Access to Oracle, perfect.
Bud I have used the migration script witch is generated by OMW and by made a connection from MS Access to Oracle in some tables the ODBC connection Failed.
What is the problem????
Thanks
AndreYou don't need MS Access installed to use the JDBC-ODBC driver.
-
Oracle 10g Universe Connectivity From 64bit Windows 2003 Server
Hi,
Have an existing BO XI 3.1 environment built on a 64 bit Windows 2003 server and
I'm having problems getting it to communicate with Oracle 10g universes. Works fine
with its SQL Server 2005 repository and SQL Server 2005 relational/olap universes, but
cant seem to get it to work with Oracle.
Universes work fine on the 32 bit development environment talking to the same Oracle
database, but when move them to 64 bit testing environment they all fail with
Oracle ora-12154 errors.
32 bit Oracle client is installed and can communicate fine with other products using ODBC
connections from the server - but BO refuses to communicate.
Any ideas other than reinstalling BO under 'Program Files' rather than 'Program Files (x86)'
as I've seen some references on the web about this possibly being a problem?
Thanks.Hi,
Oracle 32 bit and 64 bit connectivity work fine from the server. The problem seems to
relate to bug 3807408 in Oracle 10g that cant handle parentheses in directory names.
So BO being installed in u2018C:\Program Files (x86)\Business Objectsu2019 causes it to get
rather annoyed.
SAP Note 1202730 does cover this, but our DBA's aren't too keen on installing the
suggested patch. I'm also not very keen on reinstalling BO in a different directory as
we've got working production sites that would have to be rebuilt.
So now investigating whether using the Oracle 11g client will resolve this.
MSDN forum topic http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/ab662d63-6385-4f73-b27f-d526048f601f/ gives a pretty good overview of what people have been trying to resolve this. -
Lotus Notes + ODBC Connection
Hi,
we have several problems with an ODBC Connection from Lotus Notes 6.5 to Oracle database 10GR2 (Oracle Client 10.2 and ODBC Driver 10.02.00.03). I suppose these are Lotus Notes problems, but maybe somebody has an idea.
1) We cannot update a row in a table whether a column is declared as 'varchar2( 10 char)'. Surprisingly, the declaration of 'varchar2(10)', which represents 'varchar(10 bytes)', can be updated. We know that notes is not able to determine the 'native data type' 'varchar' in the first case.
2) We cannot update or delete a row with a varchar2 value with trailing blanks. Ok we can use trim in every update or within a trigger, but this cannot be the right solution.
Are there any odbc configurations / settings to prevent such behavior e.g. to cut trailing blanks.
Are there other experiences with this strange constellation (Lotus Notes + Relational database)
Thanks
AndréHi,
here are some new infos regarding this issue:
This happens only on Oracle 10gR2 on Red Hat Enterprise 4. We tested it on Oracle 10gR1 / Windows XP and non of these errors occured.
What could be the difference?
thx
André -
How to connect from Oracle 9i database on windows to sap database (orcle 8)
Hi,
I really need expert advice from anyone..I wud like to connect my Oracle 9i database running on windows platforms to SAP database (oracle 8) running on Unix platform.
Is there any special code to establish the connectivity...or we can simply use the ORacle net services(tnsnames.ora) file to connect to the SAP database??
I wud really appreciate any expert comments on this.
Thank you
RatheeshHi Ratheesh
If you are able to create an ODBC connection from the Windows Oracle server to the SAP database then you can use Oracle Heterogeneous Services to query the SAP database from Oracle through a DB link. To configure Heterogeneous Services is quite easy. You put an entry into the SID_LIST_LISTENER part of the listener.ora file:
(sid_desc=
(sid_name=hsql)
(oracle_home=C:\oracle\ora92)
(program=hsodbc)
) Then create an entry in your tnsnames.ora file to connect to your new listener service:
apmacnew =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = cntrra20-lab20)(PORT = 1527))
(CONNECT_DATA =
(Service_name = apmacnew)
(HS = ok)
)And lastly create a database link using the tnsnames entry. -
HS : Connecting from 9.2.0.8 database on AIX to MS SQL 2008R2
Hello ,
We have a requirement to connect from 9.2.0.8 database on AIX to MS SQL 2008R2 .
Source :
Oracle : 9.2.0.8 (64 bit)
OS : AIX - 4.3.3.0/5.3.0.0 (64-bit)
Target :
MS SQL : 2008R2
OS : Windows 2008 (64-bit)
1] Can we use - Database Gateway for SQL Server for the above set up ? If so , does this require a separate license ?
2] Where Do we need to install the "Database Gateway for SQL Server " -- soruce or target server ?
3] Is there any other solution apart from using "Database Gateway for SQL Server " ?
THanks,
shashiShashi,
To answer your questions -
1] Can we use - Database Gateway for SQL Server for the above set up ? If so , does this require a separate license ?
Yes, you can use DG4MSQL and it does require a separate license.
Your best option would be to use the latest version which is 11.2.0.3 but this requires you to apply patch 5965763 to your 9.2.0.8 RDBMS. See this note in My Oracle Support -
Note.549796.1 Desupport of Oracle Transparent Gateways (Doc ID 549796.1)
You also need to be on a particularAIX version as shown in the certification matrix -
http://www.oracle.com/technetwork/database/gateways/certmatrix-168347.pdf
if you install the gateway on AIX.
2] Where Do we need to install the "Database Gateway for SQL Server " -- soruce or target server ?
You can install DG4MSQL on any machine and connect to it from the RDBMS on AIX using database links. So, you can install on either AIX or Windows where SQL*Server is running. There is no difference in the performance.
3] Is there any other solution apart from using "Database Gateway for SQL Server " ?
You could also use the Database Gateway for ODBC (DG4ODBC) which uses a third party ODBC driver to make the connection between the gateway and the non-Oracle database. This is included with your RDBMS license but you need to supply the ODBC driver
The following notes on My Orcle Support have further details and information -
Master Note for Oracle Gateway Products (Doc ID 1083703.1)
Options for Connecting to Foreign Data Stores and Non-Oracle Databases (Doc ID 233876.1)
Functional Differences Between DG4ODBC and Specific Database Gateways (Doc ID 252364.1)
Gateway and Generic Connectivity Licensing Considerations (Doc ID 232482.1)
Depending what you want to do you could also use the GoldenGate product to replicate between Oracle and SQL*Server -
http://www.oracle.com/technetwork/middleware/goldengate/overview/index.html
This also requires aa separate license.
Regards,
Mike
Maybe you are looking for
-
Have some .mov files that work just find on my MAC that has QVR player version 7. When I try these same files on a MAC that was recently updated automatically and has QVR version 10, the .mov doesn't work the same way. Is there a way to set paramete
-
My I phone is frozen and I can't get it to work. I have tried to restore it several times and nothing happens. All it does is show the iTunes logo with the plug and arrow. Is there anything I can do to get it to work I am in sales and need my phone.
-
How do you install "Classic Mode"? The online guide doesn't match what I have?
HI -- I have a MacBook Pro and need to install Classic Mode so my kids can play some of their games ... I looked online, got instructions to go to the disks that came with my computer and that Classic Mode would be there. But it isn't. What am I miss
-
Unable to export to pdf from crviewer
Hi I have a code scripted in visual basic 2008 (sP1) where a report gets loaded and displayed in the the crystal viewer. My report display's in the cRViewer, however when i try to export the report to a pdf i got the following error message: Method
-
For theoritical purposes, let's say that I am building an animation and that I have 10 layers in this animation thus far. Now, let's say that I would like a watermark to be overlayed on every single one of these individual layers. The only way that