Hello,
I have a simple Oracle stored function as follows:
CREATE OR REPLACE FUNCTION test_double(a_in NUMBER) RETURN NUMBER IS
BEGIN
RETURN a_in;
END test_double;
And a simple test window with a multilineedit and command button whose clicked event script follows:
double ldb_in, ldb_out
int li
DECLARE test_double PROCEDURE FOR TEST_DOUBLE( :ldb_in );
ldb_in = 17164295
for li = 1 to 10
execute test_double;
fetch test_double into :ldb_out;
mle_1.text += 'in: ' + string(ldb_in) + ' out: ' + string( ldb_out) + '~r~n'
close test_double;
ldb_in++
next
When this runs in PB2017 R3 connected using the O10 driver, the result is as follows:
in: 17164295 out: 17164296
in: 17164296 out: 17164296
in: 17164297 out: 17164296
in: 17164298 out: 17164298
in: 17164299 out: 17164300
in: 17164300 out: 17164300
in: 17164301 out: 17164300
in: 17164302 out: 17164302
in: 17164303 out: 17164304
in: 17164304 out: 17164304
When the ORA driver is used, the "out" values are exactly the same as the "in" values. In PB12.5 no matter which driver is used O10 or ORA the result is also correct. I was wondering if anyone knows anything about this change of the O10 driver in PB2017.
FYI: PB2017 R3 was released in January of 2018.
Regards ... Chris
I reported this bug https://www.appeon.com/standardsupport/track/view?id=1264 in summer last year, and it's about PB fundamentals. Still no fix in sight, which to me looks like a sign that, with Appeon focus on cloudifying PB, the outlook for standard PB features maintenance and improvement is rather gloomy...
I suggest you contact Appeon directly regarding status on this bug report. Any priority decisions for specific bug is outside scope for us community members. In the days of PowerSoft and Sybase feasible workarounds often resulted in actual fix getting lower priority.