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.
This was first published in November 2004