|
Mark,
Look into the %REPLACE BIF. This gives you control over more than
one character at a time when replacing.
Thank you,
Matt Tyler
Mattt@wincofoods.com
-----Original Message-----
From: MWalter@hanoverwire.com [mailto:MWalter@hanoverwire.com]
Sent: Monday, October 07, 2002 12:11
To: rpg400-l@midrange.com
Subject: RE: Problem with XLATE @ V4R5
DUH. I feel like a dope. Thanks Scott.
Mark
Mark Walter
Sr. Programmer/Analyst
Hanover Wire Cloth a div of CCX, Inc.
mwalter@hanoverwire.com
http://www.hanoverwire.com
717.637.3795 Ext.3040
Scott
Mildenberger To:
"'rpg400-l@midrange.com'" <rpg400-l@midrange.com>
<Smildenber@Washc cc:
orp.com> Subject: RE: Problem with
XLATE @ V4R5
Sent by:
rpg400-l-admin@mi
drange.com
10/07/2002 01:57
PM
Please respond to
rpg400-l
Mark,
You are converting a 6 to a blank so there should be a blank before the
comma.
Scott Mildenberger
> -----Original Message-----
> From: MWalter@hanoverwire.com [mailto:MWalter@hanoverwire.com]
> Sent: Monday, October 07, 2002 11:24 AM
> To: rpg400-l@midrange.com; rpgiv@yahoogroups.com
> Subject: Problem with XLATE @ V4R5
>
>
> Hello all,
>
> I'm having a problem with the XLATE opcode at version V4R5.
>
> I have a string (keylist) that contains the value '00006%6B'
>
> I am executing the following code:
>
> C '%6B':', ' xlate keyList keyList
>
> after the xlate, the value of keyList is '0000 ,' (there is a
> space between
> the last zero and the comma)
>
> Anyone else aware of this?
>
>
> Thanks,
_______________________________________________
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/cgi-bin/listinfo/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.
_______________________________________________
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/cgi-bin/listinfo/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 mailing list archive is Copyright 1997-2025 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.