× 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 a 100 character field that is a free form "memo" type field, where the user can type anything into it.

I have it defined in DDS as WRDWRAP with CNTFLD(50) to display one 100 character field as two 50 character lines.

When I test entering data hands down, it works perfectly, and pushes longer words to the next line as they begin to not be able to fit on the initial line.

When I look at the data returned to RPG, there are embedded spaces being returned where the word was "pushed" to the second line. I was not expecting to see this, since in the IBM APPLICATION DISPLAY PROGRAMMING manual on page 33, it specifically states "Extra blanks that are inserted to make a wrap occur are removed when data is returned to your program."

Has anyone got this to work as documented by IBM? Is there another keyword I must use to make this happen? Do I need to install a PTF?

Thank you,

Doug


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.