![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am working on a project where I need to connect some Windows 2000 (SP3) servers to an IBM AS/400 database. I'm using IBM's Client Access OLE DB driver (V5R2 with SI08894 patch installed) on each server. The first serve is dual-processor, running SQL Server 2000 (SP3), and I have a DTS package that is intended to copy data from the AS/400 to some SQL Server tables. Problems: 1. When setting up the connection in the DTS package, saving the AS/400 connection password with the package is problematic. The Blank Password checkbox in the connection properties won't stay unchecked, and if I type in a password, sometimes when I close the connection properties it is saved and sometimes it is not. Of course, if it is not, then the DTS package fails when it is scheduled to run automatically. 2. When I do get a DTS package to execute, it seems that IBM's OLE driver only allows a single connection to the AS/400. I say this because only one data transformation task will run at a time. Using a previous AS/400 OLE driver, I would see at least two data transfformation tasks operating in parallel. I have installed the registry key that IBM says is needed to enable connection pooling in V5R2, but don't know of any tools that let me see what is really going on with OLE connections. Is there some magic registry entry (or file to edit) that sets the maximum number of connections? I know this is supposed to be automatic, but it appears that only one connection is being opened at any one time. 3. If I create the DTS package on my development machine (running Win2K SP3 and having the same version of the IBM driver installed), it will execute fine from there. If I go to the server machine and execute the DTS package on that machine, then the package fails. If from the server machine I edit the DTS package, and create a new connection (with the IBM OLE driver selected), and then change all of the connection objects in the package to use the new connection, the package will execute fine. In other words, there seems to be something different about the IBM OLE driver running on my workstation and on the server (even though they are identical) which causes a DTS package created on one machine to not run on the other. I've never had this problem before with other DTS packages and other drivers for the AS/400. My other server is single processor, running IIS, with some ASP.NET web services accessing the AS/400 database. Everything is fine here, except the single connection limitation seems to apply here (if several people hit the web services at once, one of them can time out as it is waiting on a connection to the AS/400, since another web service is using it). Any ideas or help that you can offer would be greatly appreciated! If there are any tools out there that help look into a system and see what is going on with its OLE drivers, that might help figure things out. Thanks in advance! Jeff Roloff |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
From: jroloff (AT) horizonhobby (DOT) com (Jeff Roloff) Newsgroups: comp.sys.ibm.as400.misc,microsoft.public.data.oled b,microsoft.public.sqlserv |
|
Subject: IBM iSeries Client Access OLE DB problems Date: 2 Jul 2003 11:42:47 -0700 Organization: http://groups.google.com/ Lines: 54 Message-ID: <4cb9a780.0307021042.36ecffb8 (AT) posting (DOT) google.com NNTP-Posting-Host: 63.122.170.78 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1057171367 32728 127.0.0.1 (2 Jul 2003 18:42:47 GMT) X-Complaints-To: groups-abuse (AT) google (DOT) com NNTP-Posting-Date: 2 Jul 2003 18:42:47 GMT Path: cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin |
|
Xref: cpmsftngxa09.phx.gbl microsoft.public.sqlserver.dts:5786 microsoft.public.data.oledb:1325 X-Tomcat-NG: microsoft.public.sqlserver.dts I am working on a project where I need to connect some Windows 2000 (SP3) servers to an IBM AS/400 database. I'm using IBM's Client Access OLE DB driver (V5R2 with SI08894 patch installed) on each server. The first serve is dual-processor, running SQL Server 2000 (SP3), and I have a DTS package that is intended to copy data from the AS/400 to some SQL Server tables. Problems: 1. When setting up the connection in the DTS package, saving the AS/400 connection password with the package is problematic. The Blank Password checkbox in the connection properties won't stay unchecked, and if I type in a password, sometimes when I close the connection properties it is saved and sometimes it is not. Of course, if it is not, then the DTS package fails when it is scheduled to run automatically. 2. When I do get a DTS package to execute, it seems that IBM's OLE driver only allows a single connection to the AS/400. I say this because only one data transformation task will run at a time. Using a previous AS/400 OLE driver, I would see at least two data transfformation tasks operating in parallel. I have installed the registry key that IBM says is needed to enable connection pooling in V5R2, but don't know of any tools that let me see what is really going on with OLE connections. Is there some magic registry entry (or file to edit) that sets the maximum number of connections? I know this is supposed to be automatic, but it appears that only one connection is being opened at any one time. 3. If I create the DTS package on my development machine (running Win2K SP3 and having the same version of the IBM driver installed), it will execute fine from there. If I go to the server machine and execute the DTS package on that machine, then the package fails. If from the server machine I edit the DTS package, and create a new connection (with the IBM OLE driver selected), and then change all of the connection objects in the package to use the new connection, the package will execute fine. In other words, there seems to be something different about the IBM OLE driver running on my workstation and on the server (even though they are identical) which causes a DTS package created on one machine to not run on the other. I've never had this problem before with other DTS packages and other drivers for the AS/400. My other server is single processor, running IIS, with some ASP.NET web services accessing the AS/400 database. Everything is fine here, except the single connection limitation seems to apply here (if several people hit the web services at once, one of them can time out as it is waiting on a connection to the AS/400, since another web service is using it). Any ideas or help that you can offer would be greatly appreciated! If there are any tools out there that help look into a system and see what is going on with its OLE drivers, that might help figure things out. Thanks in advance! Jeff Roloff |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
From: jroloff (AT) horizonhobby (DOT) com (Jeff Roloff) Newsgroups: comp.sys.ibm.as400.misc,microsoft.public.data.oled b,microsoft.public.sqlserv |
|
Subject: Re: IBM iSeries Client Access OLE DB problems Date: 3 Jul 2003 06:44:27 -0700 Organization: http://groups.google.com/ Lines: 25 Message-ID: <4cb9a780.0307030544.18b0af7a (AT) posting (DOT) google.com References: <4cb9a780.0307021042.36ecffb8 (AT) posting (DOT) google.com NNTP-Posting-Host: 63.122.170.78 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1057239867 1413 127.0.0.1 (3 Jul 2003 13:44:27 GMT) X-Complaints-To: groups-abuse (AT) google (DOT) com NNTP-Posting-Date: 3 Jul 2003 13:44:27 GMT Path: cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co |
|
Xref: cpmsftngxa09.phx.gbl microsoft.public.sqlserver.dts:5831 microsoft.public.data.oledb:1336 X-Tomcat-NG: microsoft.public.sqlserver.dts As follow-up, I finally got the DTS package to execute. I had to log into the SQL server machine using the login that is used to start the MSSQLSERVER and SQLSERVERAGENT services (and which is also the owner of the scheduled job that runs the DTS package). The box was logged in as Administrator, so permissions were not the issue here. I then edited the DTS package, opened the IBM OLE DB connection object, and after several tries I got the connection password to stick. This allowed the package to run successfully. It seems that the connection password for IBM Client Access OLE DB connections in DTS packages is not only server dependent but login dependent, making DTS packages that use this driver extremely hard to transport from one machine to another. I still have the BIG problem on both of my servers where only one connection is being opened to the AS/400 at one time. In answer to one posting, my DTS package is setup to have several data transformation occurring in parallel (the start of each transformation is not dependent on anything), and this parallelism works fine using non-IBM AS/400 drivers. Any ideas on how to get IBM's OLE DB provider to open more than one connection with the AS/400 if several applications (or processes) are requesting connections at once? Thanks, Jeff |
![]() |
| Thread Tools | |
| Display Modes | |
| |