×
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 am trying to use SQL CLI api's inside RPGLE to call stored procedure
using parameter markers. Below is a code sample.
My stored proc has three parms - the first two are inputs and the last is
an output. If I do not specify an out parm in the stored procedure and
only do parameter binding for input vars - the parms are passed to the rpg
called by the stored proc fine.
However - If I specific an out parm and bind that outparm - the input
parms in my rpg stored proc are truncated to the first char of each parm.
Example - If in@parm1 = 'ABCDEF' and in@parm2 = 'XYZABC' - when called
without specifying or binding an out parm - the values are passed
correctly.
IF I specific and bind the outparm - then in@parm1 gets passed as 'A' and
in@parm2 gets passed as 'X'.
Any suggestions are most welcome.
"Contains Confidential and/or Proprietary Information.
May Not Be Copied or Disseminated Without Express Consent of The Goodyear
Tire & Rubber Company."
As an Amazon Associate we earn from qualifying purchases.
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.