Of course the only problem is with that, it will update the Punch-Card Date Column. <smirk>
Which other programming languages have evolved past 19th Century punch-card formats with Sequence/Date columns. Yup, punch-cards were invented in the 1800's, a.k.a the 19th Century!
HLL languages like COBOL/RPG still use 19th Century punch-card technology. <Disappointment>
So, running a utility program, you can remove those hex codes without changing the date. If you happen to care about the punch-card Date Column.
https://archive.midrange.com/wdsci-l/201804/msg00049.html
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> On Behalf Of Hiebert, Chris
Sent: Thursday, April 26, 2018 10:14 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Search/Replace unprintable attribute characters
For a single program that's open, you can just select the character then copy/paste it into the find/replace dialog and replace it with a blank.
You can also search using the Unicode value (using \u0000) or Ascii Hex values (using \x20).
Since RDI runs on Eclipse it doesn't understand how to search Code page 37 directly.
Cp37 X'22' is Unicode \u0082.
This regular expression probably covers most of the color values used:
(\u0001|\u009c|\u0080|\u0081|\u0082|\u0083|\u0084|\u0017|\u001b|\u0088|\u0089|\u008a|\u008c|\u0090|\u0091|\u0016|\u0093|\u0094|\u0096|\u0098|\u0099|\u009a|\u009b|\u0014|\u009e|\u00d8)
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Roger Harman
Sent: Friday, April 20, 2018 10:19 AM
To: Rational Developer for IBM i Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] Search/Replace unprintable attribute characters
A lot of our old source has hex codes to highlight comment lines, etc.
I don't seem to be able to find a way to search for these and replace with blanks in RDi. Value is x'22'.
Any suggestions?
Thanks.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.