This is a very viable option.  You would need a little work for handling
dates and timestamps, but it's certainly doable.  You'd still need a type
parameter to tell you what type of data you're getting (or another call to
get that information).  You'd have a double conversion for non-alpha data
and you'd have to have all your error handling in the RPG, but that's all
service program stuff.

Yeah, this is sort of the "XML" approach to things!  Drop to the lowest
common denominator of string data.

Joe


> From: Sarah Poger Gladstone
> 
> You could code the "getColumn()" method to always return a Java
> String. Then in the RPG program, convert the string to a RPG datatype.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.