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



Cool!  It appears I do have REXX, now to learn it.  :-)
Thanks for the tip.

-Tracy
 Ext. 3107


-----Original Message-----
From: bdietz@3x.com [mailto:bdietz@3x.com]
Sent: Tuesday, January 14, 2003 6:39 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Removing punctuation (not using arrays)






I'll answer the second part.  If you are using the 400, you do have REXX.
It's built into the OS.  Give it a try ---- STRREXPRC.


-------------------------
 Bryan Dietz
3X Corporation
614-410-9205
===========================

If I have this field value "RABBIT PACK, 6PC. WINE TOOL KIT", is there a
better method of removing the comma and period characters and discarding
the extra spaces created without using an array routine of reading one byte
at a time, translating the unwanted characters to "blanks" and then
reloading the field via array positions?

Can I use the %xlate and %trim %bifs to shorten this task?  I don't have
REXX, so that is not an option.

Tracy L. Ball


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/rpg400-l
or email: RPG400-L-request@midrange.com
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 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.