CPYFRMIMPF Special Characters

20 pts.
Tags:
AS 400
IFS
When I look at this .txt file in Notepad I can see special characters that are superscripted like the TM Trademark letters. When I look at this on the AS/400 IFS, the rows with the special characters are misaligned. When I use CPYFRMIPF to copy these Fixed Format files to a database file, the misaligned is carried forward. The rest of the data looks fine. I am using an FDF for the Copy. What can I do?


Software/Hardware used:
CL OS400
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

I figured this one out. When you use Save as in Notepad, it shows the encodeing as UTF-8. I looked up the CCSID of UTF-8 in IBM’s list of CCSID numbers. It is 1208. I changed the Directory on the AS400 IFS using: CHGATR
OBJ(‘/Directory/’) ATR(*CCSID) VALUE(01208) SUBTREE(*ALL)

and it worked.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Splat
    Useful information. Thanks for the update.
    12,865 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: