%XLate cannot replace with null John - and this was potentially what the OP might have wanted.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Apr 24, 2019, at 12:59 PM, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:

On Wed, Apr 24, 2019 at 12:30 PM Danny Hayes <Danny_Hayes@xxxxxxxxx> wrote:

However, I have no idea what you mean by a single code point, and therefore how I would accomplish what-you-said. I would only be working on a single field at a time.

"Code point" roughly means the same thing as "character". Jon is
saying you can convert all the unprintables to the *same* character
using using %XLATE. I'm not sure why he suggested feeding that to
%SCANRPL. It seems to me that after %XLATE does its thing, you're
done.

In short, I believe %XLATE is the tool you are looking for, not %SCANRPL.

John Y.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

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


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.