I really can't believe IBM didn't take that last step to figure out how to
put values from the descriptor into a generic sized variable. Let me define
variables of 32K (or whatever) for chars, 13,15 for decimals, etc. and be
able to use them generically.
Why don't you read the answers? That's what "SET DESCRIPTOR" is made for!!!
PS: the problem is not dynamic allocating memory! The problem is to bring
data of one type to another type with a language ("RPG") which is dealing
under the coever with binary data.
This thread ...
Re: Building dynamic SQL with descriptors, (continued)
This mailing list archive is Copyright 1997-2020 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