Troy,
It was suggested by someone else to use the hex.....thanks

From: Troy Foster <tfoster@xxxxxxxxxx>
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Date: 08/27/2008 01:01 PM
Subject: Re: Xlate help

----------------------------------------------------------------------

* APOSTROPFHE
D APS S 1 INZ(x'7D')

On 8/27/2008 11:55 AM, DennisRootes@xxxxxxxxxxx wrote:
> Not sure if I'm understanding you correctly, but this is what I use when
I
> need to find an apostrophe or use one in my program. There's also a hex
> code you can use which I don't recall off-hand but I'm sure before I
even
> hit send someone else on the list will have already replied with it. =)
>
>
> D apostrophe...
> D C ''''
>
>
> I am using xlate to strip out unwanted characters from our barcode
> file......and replacing it with a blank.
>
> All things considered it is working well....except for the
apostrophe.
>
> Any idea how to include that in the list without causing the compiler
> to
> balk at me?
>
> Here is the D spec
>
> 0003.01 D@INV c
> CONST('!@#-c-&\}|NOT{?><.`~||(),*$+-%
> 0003.02 D
> ;:"ABCDEFGHIJKLMNOPQRSTUVWXYZ.')
>
> Since the ' is the delimiter for a character field....is there anyway
> for
> me to test for it?
> This transmission may contain information that is privileged,
> confidential
> and/or exempt from disclosure under applicable law. If you are not
the
> intended recipient, you are hereby notified that any disclosure,
> copying,
> distribution, or use of the information contained herein (including
any
> reliance thereon) is STRICTLY PROHIBITED. If you received this
> transmission in error, please immediately contact the sender and
> destroy
> the material in its entirety, whether in electronic or hard copy
> format.
> Thank you.
>

--
This is the RPG programming on the AS400 / 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.

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format.
Thank you.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].