Unfortunately, I am at the mercy of the clients where java, C, Python, and
other languages that they perceive to be non-iSeries are taboo. I've never
understood the mentality of "we can't use that because iSeries people don't
know the languages and non-iSeries people can't support it because it is on
the iSeries.

I will look into CLI but will probably take Buck's suggestion of casting
everything...at least for phase 1.

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.

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike
Sent: Monday, September 4, 2017 12:03 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Building dynamic SQL with descriptors

I agree. Using a language that handles the dynamic memory allocation and
management would make this task a lot easier.

While I've never used CLI, I'm familiar with its capabilities, and it would
be a very good choice to use for this as well.

This should certainly be possible in RPG, but with a lot more work.
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:

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-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.