Because the cent sign is outside of 7-bit ASCII you need to be careful
of how you convert the EBCDIC code point to the appropriate ASCII
code point.  As an example, the x'4A' you are seeing with DSPPFM suggests
that your file may be tagged CCSID 37 and depending on how the PC is
set up, you may want the x'4A' converted to x'A2' (ISO 8859-1, CCSID 819)
or x'BD' (PC Data Multilingual, CCSID 850) or x'9B' (PC Data US, CCSID
437) or some other value (and some think only EBCDIC has variant
code point considerations....)  What you need to do is determine what
code page the PC is running in and then make sure the CPYTOPCD TRNTBL
parameter is set appropriately.  Right now you are probably defaulting
to something (CCSID 437?) inappropriate for your situation.

By using WRKLNK and then displaying the attributes of the document under
the QDLS file system you can determine what CCSID CPYTOPCD used.

I would also recommend using CPY rather than CPYTOPCD.  CPY is CCSID
based rather than table based, and provides a whole lot more conversion
options (due to its CCSID base) than CPYTOPCD ever will.  Also
specifying the desired CCSID rather than trying to find the correct
translate table name (for CPYTOPCD) will be much easier.

Bruce Vining

>
>How can I create a cent sign on an AS/400 and download a file with the
>cent sign to a PC?
>
>The cent sign is data in the some fields, not part of the file name.
>
>I have an old 5250 type terminal with a cent sign key.  I can create a
>PF record containing the cent sign on the AS/400 using that key.
>
>When I display the record using DSPPFM, I see the cent sign properly, it
>is hex 4A.
>
>When I CPYTOPCD and send the file to a shared folder, the cent sign
>changes to a ">".
>
>I need to use a cent sign on retail store shelf tags.
>
>Any ideas?
>
>Thanks!
>


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.