× 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 have primarily worked with PF's and DDS on the iSeries and done a
> little bit of SQL (create collection, create table, alter table, etc).
> What data type would work best here?  Looks like  varchar would work.
> Would that recommendation change if you were using RPG to access the
> data?

"Varchar" is certainly easy enough to deal with, and it's supported in DDS
as well as SQL. Off the top of my head, I don't remember whether ILE RPG
supports it directly or not, but if not, you should be able to get it as a
character field with a length equal to the maximum length + 2 (for a
2-byte length prefix). At least, that's what such fields look like in OPM
MI.

--
JHHL



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.