|
----- Message from Paul Bailey <PabloMotte+Midrange@xxxxxxxxx> on<rpg400-l@xxxxxxxxxxxx>
Thu, 20 Apr 2017 12:19:44 +0100 -----
To:
"RPG programming on the IBM i (AS/400 and iSeries)"
and
Subject:
Re: CPF5035 on 2nd call of SP from RPGLE
Hi Birgitta,
The cursor is created by the ALLOCATE in the RPGLE (instead of an OPEN)
then closed by the RPGLE after use. I think my initial worries thatRPGLE
was part of the problem were incorrect and the issue is actually withthe
FINAL TABLE implementation in "DB2 for i". RPGLE handles result setsfrom
stored procedures using SELECT statements with the same ALLOCATE routinewith
fine, and the stored procedure I was using for the INSERT also failed
the same problem when called through a JDBC connection.
-Paul..
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.