× 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'm developing a handler pgm to replicate a CHAIN to a SQL Select...

so i have done everything i need within my handler pgm to do the sql select
and then what i thought i needed to do to loop back through the namesValues
and update the value, valuelenbytes, and hasnullvalue...

I turn on p_IO.found because my row was fetched from the sql select.

but when it returns back to the calling rpg pgm i get...

A character representation of a numeric value is in error.

the dump shows that the fields for the chain (in which i replicated the sql
select for) are all blank.

what am i missing?

btw, i'm working from Dans tutorial at...

http://m.iprodeveloper.com/rpg-progr...pg-open-access
<http://m.iprodeveloper.com/rpg-programming/create-dynamic-sql-handlers-using-rpg-open-access>

and this part i'm referring to is covered under "Executing the statement"

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.