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



Ah.. I figured it was something like that.

Can you use hex arguments for the from and to?

I am having luck using ucs2 data, though. It's not reporting an error when
converting using %char(). But, I don't how know it's going to look just
yet. I'll have to check that out before I go a different route. Maybe it
will be as easy as replacing there. (btw, this customer is currently on
V5R4 until they get some other software working on V7R2... the company went
out of business and didn't leave much for conversions).

But, I wrote my own %scanrpl type function years before IBM had it.. so I
can use that. :)

Brad
www.bvstools.com

On Tue, Dec 8, 2015 at 4:21 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 12/8/2015 4:39 PM, Bradley Stone wrote:
We're more than safe replacing... I'm not familiar with sed... what is
that?

sed is a PASE (or QShell) utility that comes to us via Unix. If you can
imagine a text editor that operates via command line arguments, that's
what sed does. With one statement, you could translate all of one
character to another.

The %scanrpl() BIF is the RPG equivalent. Or it would be if it
supported regular expressions...

--
--buck

Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!

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



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.