MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » March 2014

The maximum number of statements has been reached for the current connection



fixed

Hello guys

After setting up an IBM i (a.k.a AS/400) as a linked server in SQL Server
2012
using MS OLEDB Provider (V4) for DB2 ,

I get the following error with each Select statement I test.

OLE DB provider "DB2OLEDB" for linked server "AS400_PROD_OLEDB4DB2"
returned message "The maximum number of statements has been reached for the
current connection. SQLSTATE: HY000, SQLCODE: -1500".

Here's a sample SQL stmt:

select * from AS400_PROD_OLEDB4DB2.PRODDB.DCMTLIBD.STATIONF


Anyone out there familiar with this kind of error?


Thanks

Gad





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact