× 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 am attempting to assemble text to print on a letter in an RPG program. I have to insert a variable number of names in 2 different places.
I created a format with a large input field to input the names.
I then assemble all the constant text with the variable text and bring it into a field with WRDWRAP, which keeps the fields from being
truncated at the end of the line. It all looks good on the screen, with blanks inserted at the end.
For some reason, I have to put some type of input in my WRDWRAP field, or it will suppress all the blanks put in by WRDWRAP when
I attempt to parse out the large WRDWRAP field to print fields. It appears that the blanks that WRDWRAP puts in are more like nulls, and not
a true blank.

I know what you may be thinking, why don’t you use BLKFOLD on your print file?
I tried using that. There is zero examples out there on this keyword that I could find. I made a field the length of the WRDWRAP field that
I attempted to use above in the print file. I have FOLD(*YES) in my OVRPRTF. The print is *AFPDS, but I did not get any warnings or anything
when I ran it. It prints one line of information only.

Thanks.

Tom Deskevich
INFOCON
814-472-6066
Fax 814-472-5019

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.