× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



There's always ASNA...

http://asna.com/us/products/datagate/

-Eric DeLong

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Piotrowski
Sent: Monday, December 17, 2012 2:09 PM
To: RPG programming on the IBM i / System i (rpg400-l@xxxxxxxxxxxx)
Subject: Alternatives to ODBC Connections

Hi All,

Does anyone know if there are any alternatives to an ODBC connection through ASP code or a dot.net program? We're noticing an increased problem with our programs and the dreaded QZDASOINIT job (many of them!) monopolizing the CPU usage quite often.

Right now most of the programs use code similar to this:

Set adoCon400 = Server.CreateObject("ADODB.Connection")
adoCon.Open "Provider=IBMDA400.DataSource.1;Persist Security Info=False;User ID=<Ourid>;Password=<ourpassword>;Data Source=<ourAS400>"
Set recordset = Server.CreateObject("ADODB.Recordset")
strSQL = "<our SQL statement>"
recordset.open strSQL, adoCon400
....do something with the results....
Recordset.close
Set recordset = nothing

That might have been fine and dandy when we didn't have many web applications, but now we have a lot more web applications running through IIS (Server 2008R2 64bit) and it appears to impact the system's performance.

Any helpful ideas or advice would be most appreciated.

Thankee-sai!

/b;

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brian Piotrowski
Manager - I.T.
Simcoe Parts Service, Inc.
Ph: 705-435-7814 x343
Fx: 705-435-5029
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.simcoeparts.com<http://www.simcoeparts.com/>

Please consider the environment. Don't print this e-mail unless you really need to.

The information contained in this communication is confidential and intended only for the use of those to whom it is addressed. If you have received this communication in error, please notify me by telephone (collect if necessary) and delete or destroy any copies of it. Thank you!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.