Connect Oracle with AS400
Iam new in this , what I need, for connect Oracle with AS400...? someone Can Help me please.....
Thanks!!!
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/integrat.htm#sthref3364
Similar Messages
-
How connect Oracle with AS400?
Hi!
I don´t know how i can connect oracle with AS400 , what I need for make the connection?Hi,
You have 3 options:
- Oracle Transparant Gateway for DRDA
This product is available for Windows, Linux, AIX, HP-UX PA-RISC and Solaris SPARC
It uses the IBM DRDA protocol (over TCP/IP) to establish a connection with DB2400
- Oracle Transparant Gateway for DB2/400
This product needs to be installed on the AS/400
- Generic Connectivity (aka HSODBC)
This is a default Oracle Database feature that is available for Windows, Linux x86,
AIX, HP-UX PA RISC and Solaris Sparc.
In addition it requires a suitable ODBC-Driver (32-bit) that is able to connect to
DB2/400
The gateways require additional license from Oracle, while HSODBC requires additional license for a third party ODBC vendor. Furthermore do gateways support the two phase commit protocol and calling DB2/400 stored procedures.
Regards,
Ed
DRDA over TCP/IP
Message was edited by:
ebangma -
How to connect oracle with ms access database
Dear
We are on release r12, right now we have requirement to connect oracle database with ms access to get some information. We have found gateway(Heterogeneous services) using ODBC, but at the database side where is installed oracle r12 there is no installed ms access software becuse of linux operating system, so how could it will connect ms access because without installing ms-access we are unable to find ms ODBC gateway in ODBC driver under the control panel.
Can any body guide me how could achieve this
Edited by: oracle0282 on Sep 21, 2011 12:47 AMIf I understand you correctly you want to access Oracle on Linux from MS-Access (possible on Windows only). You need neither a gateway nor Heterogeneous Services, but an Oracle client including ODBC driver (Instant client with ODBC driver is enough) on the Windows machine.
Configure the ODBC driver with the connect informations to the Oracle server.
Werner -
Error in Remote Connect Oracle with MTS Mode
I've configed my database to run MTS.
My db is 8.1.5 with x86 Unix SunOS 5.7
If I connect db through local area network, I can connect it with MTS mode.
But if I try to connect db from a remote site, I can't connect and the following error shown :
ERROR:
ORA-12545: Connect failed because target host or object does not exist
By adding a clause (SERVER = DEDICATED) in my remote client's tnsnames.ora
I can connect it.
Rgds,
Edward
The following is my configuration.
init.ora :
mts_dispatchers = "(PROTOCOL=TCP)(DISP=3)"
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
mts_servers = 1
mts_max_servers = 40
mts_max_dispatchers = 4
listener.ora :
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = QQQQdb)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = QQQQdb)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/8.1.5)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = QQQQdb.net)
(ORACLE_HOME = /u01/app/oracle/product/8.1.5)
(SID_NAME = QQQQdb)
tnsnames.ora :
QQQQDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = QQQQdb)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = QQQQdb.net)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
nullI have run into the same problem using oracle 8.1.6.1 with redhat 6.2..
I have found out that only when I specify host ip in the mts_dispatchers the mts will work correctly..(specifying host domain name is no use)
Here is a sample of the configuration, hope that helps..
mts_dispatchers = "(address=(protocol=tcp)(host=192.168.0.1))(dispatchers=4)" -
hi all,
i am using Xammp 1.7.4, PHP version 5.3.5, apache 2.2, and oracle 11g. actually i know how to connect MySql using php, but now i am trying to connect oracle using php. Can any 1 tell me the clear cut steps to do the same ?You need to add the right oci8 DLL or .so to php.ini and make sure it has access to Oracle client libraries. These Oracle libraries are from an Oracle Home or Oracle Instant Client.
Without knowing your platform and whether the Oracle DB is on the same machine as Xampp the best place to start is to look at
http://www.oracle.com/technetwork/articles/technote-php-instant-084410.html -
Hello, i have a prob creating connection pool via AS "wizard"
i've tried both com.ibm.as400.access.AS400JDBCDataSource and com.ibm.as400.access.AS400JDBCDriver
both doesnt work for me...
i have the following parameters:
<property name="hibernate.connection.driver_class">com.ibm.as400.access.AS400JDBCDriver</property>
<property name="hibernate.connection.password">xxxx</property>
<property name="hibernate.connection.username">xxx</property>
<property name="hibernate.connection.url">jdbc:as400://xx.xx.xx.xx</property>
<property name="hibernate.default_schema">ssss</property>
<property name="hibernate.default_catalog">ccccc</property>
How do i configure these to Sun AS connection pool?
Thank you in advance.You can refer :
1) creating jdbc-connection-pool, jdbc-resource
http://docs.sun.com/app/docs/doc/819-4733/6n6s6u1bn?a=view
2) configuration for various database vendors
http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklk?a=view
AS400 is not listed above, still it will work if the jdbc driver is jdbc-30 complaint.
You need to provide "datasource-classname" and necessary parameters like user, password, URL, server, databasename etc.,
Thanks,
-Jagadish -
How to connect oracle with c++
i wanted to know that how should i connect oracle to c++.
kindly list me the commands which i need to write to access database fro oracle.
thanks ...If you're attempting to use the ODBC API directly, have you downloaded the ODBC SDK from Microsoft? That will include some sample code, which is a great starting point. So far as I'm aware, you shouldn't need to configure anything in Borland C++ that you don't have to configure in any other C++ compiler to use ODBC.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
How to connect Oracle with Jsp?
Hi,
I am student and I am trying to use Jsp to connect oracle. Do you have any sample to show how to do it?
Thanks a lot.
AmyIn JSP, you connect to the Oracle in a same way as you would do it in any Java application, using JDBC. Please refer to Java Tutorial -> JDBC on sun site and you will get easy and straight forward concepts.
-
Can I connect Oracle with SQL-Server
Hi,
Is it possible to do Oracle hetrogeneous connectivity with Sql Server??
Regards,
DarshanHi,
I wanted to know whether Transparent Gateway for SQL Server is installed or not?
In my $ORACLE_HOME I found following folders
tg4ifmx, tg4ingr, tg4sybs, tg4tera.
=========================
If I want to install Gateway for SQL Server, From where do I install it???
JAI HIND
Darshan -
How to Connect Oracle with Crystal Reports
Hi Everyone,
I am new to Crystal Report,
Just tell me how to connect Crystal Report thro' Oracle 9i or 10g Forms
With regards,
KrishnanYou may want to use ODBC for the connectivity.
-
I want to access oracle database from my java program which is written on Java Swing. e.g suppose my program shows a screen containing a "Name" field and a button "Submit". When i will enter a name and press the submit button the name will be stored into a table . How can i do that?
I use Oracle 8i for database and JDK 1.7.0 for Java environment.Hi,
Use the below code to connect to the Oracle DB and do the required Operation with the custom parameters for IP etc.,.
public static void updatEmp(int empNo, String eName){
System.out.println("Oracle Connect Example.");
Connection conn = null;
String ipAddress ="";
//Spedify your IP address
String tnsName = "";
// Specify your tns name eg. "orcl"
String url = "jdbc:oracle:thin:@"+ipAddress+":1521:"+tnsName;
String driver = "oracle.jdbc.driver.OracleDriver";
String userName = "scott";
String password = "tiger";
try {
Class.forName(driver).newInstance();
conn = DriverManager.getConnection(url,userName,password);
System.out.println("Connected to the database");
conn.setAutoCommit(false);
PreparedStatement preStmt = conn.prepareStatement("update emp set ename = ? where empno =?");
preStmt.setInt(2, empNo);
preStmt.setString(1,eName);
preStmt.executeUpdate();
Statement st = conn.createStatement();
// For insertion to oracle
int i = st.executeUpdate("insert into emp (empno,ename) values("+empno+",'"+ename+"')");
System.out.println("No. of rows updated = "+i);
//For Selection from oracle
/* ResultSet res = st.executeQuery("SELECT empno,ename FROM EMP ");
while (res.next()){
System.out.println("Number of column:"+res.getInt(1));
System.out.println("Number of column:"+res.getString(2));
conn.rollback(); */
// For Updation to oracle
/*int i = st.executeUpdate("update emp set ename='Hamlet' where empno=7369");
System.out.println("No. of rows updated = "+i);*/
conn.close();
System.out.println("Disconnected from database");
} catch (Exception e) {
e.printStackTrace();
Note:
Have to include the ojdbc14-10.2.0.2.0.jar in your java environment, which is the driver for Java to connect to oracle. If it is in Eclipse include using External jar files. If the java environment is Servers put the jar file in your lib folder under Web-INF folder..:-)
Thanks
Edited by: Ramesh_R on Aug 26, 2009 8:53 PM -
Hi all.
I have problems with connection ASP and Oracle. I use Windows Server 2008 Enterprise R2 64 bit.
All this string connections not working:
cn.Open "Provider=MSDASQL;DRIVER={Microsoft ODBC for ORACLE};UID=ROOT;PWD=XXXXXX;Server=ORCL"
cn.Open "Provider=MSDAORA.1;Password=XXXXXX;User ID=ROOT;Data Source=ORCL;Persist Security Info=True;"
cn.Open "Provider=msdaora; Data Source=ORCL; User Id=ROOT; Password=XXXXXX;"
cn.Open "Driver={Microsoft ODBC for Oracle};Server=ORCL;Uid=ROOT;Pwd=XXXXXX;" Can you help me?
Many thanks
MRThanks x your help.
Now I have this error:
ORA-12154: TNS:could not resolve the connect identifier specified
Connection string:
cn.Open "Provider=OraOLEDB.Oracle;Data Source==C800FSI1;UserId=DIP;Password=XXXXXX;"Listener.ora
# listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_2\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_2)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_2\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = C800FSI1)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\Administratorsqlnet.ora
# sqlnet.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
NAMES.DEFAULT_DOMAIN = C800FSI1
SQLNET.AUTHENTICATION_SERVICES = (none)
SQLNET.AUTHENTICATION = (none)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)TnsNames.ora
# tnsnames.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
C800FSI1_2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = C800FSI1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = C800FSI1_2)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
C800FSI1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = C800FSI1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = C800FSI1)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = C800FSI1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)Can you help me?
Edited by: user6317803 on 26-gen-2011 13.01 -
hi, i have a application in oracle 10g and i want to read data from a rmcobol, anyone knows how can i connect to a rmcobol. any gateway???
thanks in advance
RobertoI am not aware of a Transparent Gateway for rmcobol, but if you have ODBC drivers, you could try Generic Connectivity.
Here's a quick start to Generic Connectivity :-
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:4406709207206#18830681837358 -
Connecting Oracle by JDBC in Linux
I'm using oracle8.1.7, redhat 7.2,Apache as webserver and tomcat
as containers, all these work very well. but I have a problem
connecting oracle with JDBC.
I've installed the JDBC driver by setting the classpath
in .bash_profile of oracle, but when I run the a jsp which try
to connect the database, it return the exception error which
tell me the suitable driver is not found! Can anyone tell me why?
By the way, I'm using JDK1.3 and the JDBC driver is
classes12.zip. Please help me out.Double Post
http://forum.java.sun.com/thread.jspa?threadID=673989 -
How to connect Oracle 10g to MySql
hi,
can anybody plz guide me how to connect Oracle with MySql...I was going through official documentation and I found the procedure for connecting with Informix, Sybase and Teradata etc but I could not find for MySql...so can anybody plz guide in this regard...
Thanking youTo connect to a MySQl database the product you have to use is DG4ODBC 11.2. It requires a 3rd party MySQL ODBC driver (64bit on 64bit platforms and 32bit on 3bit platforms). This Dg4ODBC has to be installed in its OWN ORACLE_HOME. Installing it into the database home 10.2 you'll corrupt the database installation.
Before installing DG4ODBC, please make sure your Oracle database release is 10.2.0.4 or 10.2.0.5. If you still have 10.2.0.3 or 10.1.0.5 you have to apply the gateway compatibility patch to your Oracle database release.
More details can be found in the gateway config note available at "My Oracle Support".
The notes are:
- Installing on a 64bit Unix OS:
How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) [ID 561033.1]
- Installing on 32bit linux:
How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit [ID 466225.1]
- Installing on Windows:
How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit [ID 466225.1] (although it is the 32bit note is is almost similar for a 64bit Windows installation
You can download Dg4ODBC for free from http://edelivery.oracle.com or from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
Maybe you are looking for
-
Button link doesn't open after publishing
Hello, I am trying to put a link into my Captivate project so that users can access our homepage. From what I can tell, the only way to do this is to create a button that opens to a URL. Great, except when the project is published, the link doesn't w
-
How to use RIPEMD-160 with CL_ABAP_MESSAGE_DIGEST
Hi *, I want to generate a RIPEMD-160 hash value with CL_ABAP_MESSAGE_DIGEST . I wrote a short test report ( see below ) and with e.g. SHA512'. or MD5 the logic works fine. But it dosn't work with RIPEMD-160 . In the system there is loaded / integrat
-
I'm getting an error 1012016 on my calculation script
Good day guys, I just wanted to ask for your opinion as I'm getting this error: Cannot calculate dimension member DimX with restricted member ChildrenX1_1. Here's the scenario. I have a dimension, DimX and under this dimension, i have 3 children DimX
-
Hi, I tried to install windows XP on my imac 20" with bootcamp. First I had lots of troubles, with an endless loop in the windows install. After trying 6 times, my XP finally wanted to install properly. Now, after this install, my mac OSX seems te be
-
How to handle the maturity date of loan in FCR
In Jilin, we have a contract maturity date and FCR maturity date, the contract maturity date can be less than or equal to the FCR maturity date. If the contract maturity date is less than the FCR maturity date, EFS will be done for the loan account i