× 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.



>I hope this is an appropriate question for this list.

Very.

>it gets a 'Run-time error  -2147467259 (80004005). 

MS's useless catchall error, however it's likely caused by the MCH error.

>MCH2605 'Invalid space location unlock request'

I can't imagine an ODBC request ever causing this error directly. This looks
like a bug inside one of IBM's programs. Given that you're on V4R5 you had
better hope it's a bug that's already fixed since V4R5 isn't suported any
longer.

>Has anyone successfully used VB with an AS4000 stored procedure?

VB, VB.NET, ASP and ASP.NET many times, no problems.

-Walden

------------
Walden H Leverich III
President
Tech Software
(516) 627-3800 x11
(208) 692-3308 eFax
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com 

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
 

-----Original Message-----
From: JimG [mailto:jim32312@xxxxxxxxxxx] 
Sent: Wednesday, April 23, 2003 8:32 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Visual Basic/AS400 stored procedure problem


Hi,
I hope this is an appropriate question for this list.

I have an AS400 stored procedure that has 3 input parameters and 1 
in/out parameter. The stored procedure runs a CL that runs 2 queries.
The procedure is called from a Visual Basic 6 application.  When 
running in VB debug mode everything runs fine. When the application is 
compiled and executed it gets a 'Run-time error  -2147467259 (80004005). 
Research on the QZDASOINIT job log shows the error is MCH2605 'Invalid 
space location unlock request'. The CL and its queries ran and completed 
successfully. OS400 version is V4R5M0, Client Access is version 4, 
Release 5 Service Level SF67276, tried ADO versions 2.1, 2.6 and 2.7.
I also tried the application with .NET and it will not even work in 
debug mode.
Any ideas?  Has anyone successfully used VB with an AS4000 stored 
procedure?

Thanks,
 
Jim

_______________________________________________
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,
visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.