However, there are hundreds of CCSIDs! And I am not sure how to find the right one.
Another way of solving this would be to send a test file that contains all the characters and symbols that can be used. Then look at the received file and see where characters differ from the sent file. You can use this information to find or create a translation table that your RPG program can use, or perform your own translation in the code. So if you find that sending "|" gives "!" and sending "!" gives "|" your program can replace "!" with "|" and "|" with "!" in the data before it writes it.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Visit the ITKnowledge Exchange and get answers to your developing questions fast.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Related Q&A from John Blenkinsop
When an error occurs on an IBM command, the diagnostic messages are sent first, then an escape message, which you can monitor. On AS/400 you see the ...continue reading
Learn how to 'append data to the file' with the FTP DIR command, and eliminate the hassle of having to end the FTP session and restart to view ...continue reading
RPGIV will 'think of' incoming integer fields as binary, and then will redefine them in the program structures as PACKED. So, when you chain a record...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.