ODBC Connectivity between Oracle10g on AIX and Mainframe


 
Thread Tools Search this Thread
Operating Systems AIX ODBC Connectivity between Oracle10g on AIX and Mainframe
# 1  
Old 08-13-2010
Bug ODBC Connectivity between Oracle10g on AIX and Mainframe

Hi,
I have a task of setting up connectivity between Oracle 10g (AIX) and Mainframe (1 library). Went through couple of documents, forums, blogs etc. MY understanding is ODBC Generic Connectivity is free from Oracle side.

Question: (may be dumb to you)
1. Has anybody done this and would like to share their documents, lessons learnt, risks etc?
2. Where can I find the ODBC.ini for DB2 Mainframe?
3. Should I install this ODBC Driver on Mainframe or Oracle AIX?
4. Anything else that needs to be taken care.

Thanks to everyone in advance.

Regards,
Mani
# 2  
Old 08-19-2010
IBM has a classic federation drivers I got them from the MF guys, a second place to look is datadirect they make odbc drivers for about everything
# 3  
Old 09-15-2010
There's an odbc.ini file which need to be configured. It might be found in your webserver./ also where your oracle client is located.

In your case I'm assuming you install the oracle client inside the mainframe. And the oracle server is where you have your oracle 10G installed.

Code:
/opt/productABC/apache/docs/infospc/odbc/odbc.ini

vi this odbc.ini and modify the (just an example)
Code:
Driver = example /opt/productABC/apache/docs/infospc/odbc/lib/driverABC
decription = DB2 wire protocol
LogonID = repository_two <-is by default for oracle clients
Password-repository_two
SID = ORAXYZ <-depends on your repository name

and from my experience odbc file needs to be configured only for RHEL machine not aix. you guys can correct me if im wrong.

cheers
# 4  
Old 09-16-2010
What exactly do you need to do? Are you trying to federate a query between Oracle and DB2 on z/OS. What are the database clients in the scenario?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX Forum: FTP from AIX to Mainframe

This discussion thread is an extension to what was discussed in Shell scripting section. Please refer the post for the requirement: Requirement Post - Click Here The whole thread - Click Here I would like to know how I can use NDM to transfer file from AIX to Mainframe and to verify the... (3 Replies)
Discussion started by: TechGyaann
3 Replies

2. Shell Programming and Scripting

FTP from AIX to Mainframe

Hi All, This is the scenario:- I am writing a script to automate FTP files from AIX to Mainframe. ( Binary mode, passive connection) FTP the currently available files(poll a directory to find the list) and put it to mainframe in one connection instance Verify if all the files are copied... (24 Replies)
Discussion started by: TechGyaann
24 Replies

3. Red Hat

DB2 ODBC connectivity problem in RHEL5 32 bit

Hi, I installed Db2 9.7 on RHEL5 32bit . Instance Name is db2inst1 amd in that i created database as mydb. I exported env variables for classpath ,db2dir,db2instance LD_LIBRARY_PATH ,PATH ,ODBC, ODBCHOME ,ODBCINI My application needs ODBC connectivity and so I modified odbc.ini file . ... (0 Replies)
Discussion started by: roopalidalvi231
0 Replies

4. Shell Programming and Scripting

shell script returning error code 2 from AIX to Mainframe

Hi, I have a shell script which is residing on AIX which is triggered by Mainframe through Connect Direct. The shell script creates several files and sends those files to mainframe using Connect Direct. The shell script is working fine, still it is returning exit code 2 to mainframe. What... (0 Replies)
Discussion started by: Yogesh Aggarwal
0 Replies

5. AIX

Problem in ftpying the datasets containing comp values to AIX from mainframe

Hi, When i am trying to ftp COBOL generated data sets which contain comp values to AIX in ASCII mode. the comp values are getting corrupted. If i ftp the data set in binary mode it is working properly, but for this i have to change some compiler options in the COBOL. Also if i want to use the... (5 Replies)
Discussion started by: sekhar gajjala
5 Replies

6. AIX

Problems with SSH/SFTP between AIX and Mainframe

Hi, I'm not sure if this has been solved in this forum already but please do help me out if possible. Basically, I've already setup a passwordless SSH connection between 2 AIX IDs (say ID-1 and ID-2) with a Mainframe server ID (say MVSID). I'm able to successfully do an SSH from the AIX server to... (1 Reply)
Discussion started by: sambeet
1 Replies

7. AIX

ODBC on AIX

I´m using an app that uses odbc to connect to the data base, i thought odbc was only available for NT plataforms...anybody knows how to create an odbc connection on AIX 5.1 (if possible). Thanks a lot (3 Replies)
Discussion started by: paulcarbajal
3 Replies

8. Shell Programming and Scripting

DBD::ODBC::st fetchrow_hashref failed: [unixODBC][Oracle][ODBC]Numeric value out of r

Here is part of my program code: #Collect the output of test database and count the no #of rows too while(my @array = $tstDbStatementHandle->fetchrow_array) { push @tstDbOutputArray,; $tstDbOutputRows++; } ... (3 Replies)
Discussion started by: sameerstephen
3 Replies

9. Solaris

How to check Oracle odbc connectivity in solaris ?

Hi, I have my application and database servers running on solaris. I need to check Db connectivity for a datasource in my Db server. Please guide me how to do it in solaris env. Aru (2 Replies)
Discussion started by: aarora_98
2 Replies

10. UNIX for Advanced & Expert Users

Aix 5.3 L Odbc

Dose anybody knows about Installation and setup of ODBC under AIX 5.3 L (0 Replies)
Discussion started by: uhdesai
0 Replies
Login or Register to Ask a Question