Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 DB2
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

snaayk
Senior Member

USA
1061 Posts

Posted - 27 February 2003 :  13:37:54  Show Profile  Visit snaayk's Homepage  Send snaayk an AOL message  Send snaayk an ICQ Message  Send snaayk a Yahoo! Message
I was wondering if there was a way to link up with a db2 server that is running. I don't administer it or even really know who does. I currently login using a qmf panelto run queries and export reports.

I found this connect string:
oConn.Open = "Provider=DB2OLEDB;" & _
             "Network Transport Library=TCPIP;" &  _
             "Network Address=xxx.xxx.xxx.xxx;" & _
             "Initial Catalog=MyCatalog;" & _
             "Package Collection=MyPackageCollection;" & _
             "Default Schema=MySchema;" & _
             "User ID=MyUsername;" & _
             "Password=MyPassword"


But I am not sure what to make of it. I currently login and have to type in commands at a menu to get where I can run queries.

I am hoping to run a dts package out of MSSQL and import some data into mssql.

Anybody have any experience with this?

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 February 2003 :  15:22:01  Show Profile  Send ruirib a Yahoo! Message
I don't have experience with DB2, but anyway it shouldn't be too hard. I've checked that DTS does not have a OLEDB driver for DB2, but I guess you should have one available with DB2 and you could install it. Once you get the driver installed (OLEDB or ODBC) it's just as if you were importing from any of your usual sources.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

seahorse
Senior Member

USA
1075 Posts

Posted - 27 February 2003 :  21:45:50  Show Profile  Visit seahorse's Homepage
There's a similar connection string at:

http://www.connectionstrings.com/

Ken
===============
Worldwide Partner Group
Microsoft
Go to Top of Page

snaayk
Senior Member

USA
1061 Posts

Posted - 28 February 2003 :  12:15:39  Show Profile  Visit snaayk's Homepage  Send snaayk an AOL message  Send snaayk an ICQ Message  Send snaayk a Yahoo! Message
quote:
Originally posted by ruirib

I don't have experience with DB2, but anyway it shouldn't be too hard. I've checked that DTS does not have a OLEDB driver for DB2, but I guess you should have one available with DB2 and you could install it. Once you get the driver installed (OLEDB or ODBC) it's just as if you were importing from any of your usual sources.



I can't find the oledb driver, no one seems to have one. I will continue to search...
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 28 February 2003 :  12:31:17  Show Profile  Send ruirib a Yahoo! Message
In SQL Online books there is a reference to a Star SQL driver, but it seems to be part of a commercial software package.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

snaayk
Senior Member

USA
1061 Posts

Posted - 28 February 2003 :  15:27:55  Show Profile  Visit snaayk's Homepage  Send snaayk an AOL message  Send snaayk an ICQ Message  Send snaayk a Yahoo! Message
quote:
Originally posted by ruirib

In SQL Online books there is a reference to a Star SQL driver, but it seems to be part of a commercial software package.


Thats what I seem to find online, commercial drivers.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 28 February 2003 :  17:20:58  Show Profile  Send ruirib a Yahoo! Message
And can't you get an ODBC driver from IBM?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

snaayk
Senior Member

USA
1061 Posts

Posted - 01 March 2003 :  22:28:10  Show Profile  Visit snaayk's Homepage  Send snaayk an AOL message  Send snaayk an ICQ Message  Send snaayk a Yahoo! Message
hehe, according to them they provided it when the system was bought. SO! give it again! But we're such a huge company and there are so many chiefs and few indians that it's almost impossible to find the person who has the ability to request a driver. Few (if any) have tried what I'm trying. They usually export to excel and go from there.
I'm trying to automate the whole report process through dts. I 'm creating a script run the report export to a delimited file then have dts ftp the report from the mainframe and import into SQL. I've got it all done save the FTP part (keeps freezing). I was hoping to avoid the running of the report, export, ftp and import....oh well.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 02 March 2003 :  07:58:29  Show Profile  Send ruirib a Yahoo! Message
I've been to the IBM DB2 site and it seems that they have a free Personal Edition for Windows machines. I guess that should include Windows drivers, though I cannot be sure. Maybe you can give it a try.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

snaayk
Senior Member

USA
1061 Posts

Posted - 02 March 2003 :  10:52:04  Show Profile  Visit snaayk's Homepage  Send snaayk an AOL message  Send snaayk an ICQ Message  Send snaayk a Yahoo! Message
quote:
Originally posted by ruirib

I've been to the IBM DB2 site and it seems that they have a free Personal Edition for Windows machines. I guess that should include Windows drivers, though I cannot be sure. Maybe you can give it a try.


didnt notice, I'll take a look.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 02 March 2003 :  13:41:42  Show Profile  Send ruirib a Yahoo! Message
Here is the link, just in case: http://www6.software.ibm.com/dl/db2udbdl/db2udbdl-p


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07