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



Thanks Jon,

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.

Thanks & Regards,
Danny Hayes
IT-Developer
Genuine Parts Company, APG IT

3100 Windy Hill Road
Atlanta, Georgia 30339
mailto:Danny_Hayes@xxxxxxxxx
(904) 502-2969

"People will forget what you said, people will forget what you did, but people will never forget how you made them feel." - Maya Angelou


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Wednesday, April 24, 2019 11:40 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXT] Re: %SCANREPL non-print chars

I might be inclined to use %Xlate to convert all non-pent characters to a single code point and feed that into %SCANRPL as it can only replace a single string at a time.


Jon Paris

https://nam04.safelinks.protection.outlook.com/?url=www.partner400.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7Cecde2e1b91c548ff807808d6c8cb219d%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636917172101151700&amp;sdata=zdbYtQSikE9YgFoL9RkKW0ZbGqum9g6QCIZ54Rz5lsU%3D&amp;reserved=0
https://nam04.safelinks.protection.outlook.com/?url=www.SystemiDeveloper.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7Cecde2e1b91c548ff807808d6c8cb219d%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636917172101151700&amp;sdata=7Vbx2mtgGTiliSpBeq9FEFRJqnsUJmfuMwPywvM7948%3D&amp;reserved=0

On Apr 24, 2019, at 10:40 AM, Danny Hayes <Danny_Hayes@xxxxxxxxx> wrote:

We are on V7R3.

I want to use %SCANRPL to replace all non-print characters in a string.

Not sure how to define a constant of all non-print characters for the command.

Do I have to run it twice for the ones less than 32 and then once for the ones over 128?

Thanks & Regards,
Danny Hayes
IT-Developer
Genuine Parts Company, APG IT

3100 Windy Hill Road
Atlanta, Georgia 30339
mailto:Danny_Hayes@xxxxxxxxx
(904) 502-2969

"People will forget what you said, people will forget what you did,
but people will never forget how you made them feel." - Maya Angelou

"This email and any attachments, contain Genuine Parts Company confidential information that is proprietary, privileged, and protected by applicable laws. If you have received this message in error and are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy this email, any attachments or copies therein forthwith. Please notify the sender immediately by email if you have received this email in error."
--
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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
s.midrange.com%2Fmailman%2Flistinfo%2Frpg400-l&amp;data=02%7C01%7Cdann
y_hayes%40genpt.com%7Cecde2e1b91c548ff807808d6c8cb219d%7Cb439d764f2cb4
3eaac052e373c83043e%7C0%7C0%7C636917172101151700&amp;sdata=%2FI3pvEFHY
aixIN9KOhJxhGjo61TjJM5wpuDRSib7G%2BI%3D&amp;reserved=0
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Frpg400-l&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7Cecde2e1b91c548ff807808d6c8cb219d%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636917172101151700&amp;sdata=dMv0sabFJlbZhKhxFOrCvBNgvC4ZX3N%2FGwCn4rKXBw4%3D&amp;reserved=0.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famaz
on.midrange.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7Cecde2e1b9
1c548ff807808d6c8cb219d%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C6
36917172101161710&amp;sdata=3nsP35U9XUcSY%2BM%2FU7ICnLOC6Xlt%2BnQGXIPX
1BKxqXg%3D&amp;reserved=0

--
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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Frpg400-l&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7Cecde2e1b91c548ff807808d6c8cb219d%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636917172101161710&amp;sdata=iGU21dPQEWz6GawMkocM0rNbU5WSMV%2BtgM5nNUjcIn8%3D&amp;reserved=0
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Frpg400-l&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7Cecde2e1b91c548ff807808d6c8cb219d%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636917172101161710&amp;sdata=BXd2Zg8%2BwC45qh1ORWsA6a6eMovzL2xkSYysRvS76ZQ%3D&amp;reserved=0.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7Cecde2e1b91c548ff807808d6c8cb219d%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636917172101161710&amp;sdata=3nsP35U9XUcSY%2BM%2FU7ICnLOC6Xlt%2BnQGXIPX1BKxqXg%3D&amp;reserved=0

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.