This looks very similar.

On Thu, Mar 20, 2014 at 7:36 AM, Gad Miron <gadmiron@xxxxxxxxx> wrote:

Hello guys

After setting up an IBM i (a.k.a AS/400) as a linked server in SQL Server
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:


Anyone out there familiar with this kind of error?


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

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

This mailing list archive is Copyright 1997-2015 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