Trouble exporting text data to pc file in pure ascii (CCSID issue?)
Posted: Wed Mar 13, 2024 10:04 am
Hello everyone, this is my problem.
I have a program that writes a physical file. The physical file has 4 char fields. The file must be downloaded in pure ascii txt format and then uploaded via ftp to our IRS systems.
In one of the 4 fields it can sometimes happen that there are accented capital vowels À or È or É or Ì or Ò or Ù (names of cities or people).
The physical file has CCSID 280 and from the terminal by doing DSPF you can clearly see the accented vowels.
Jobs that create the contents of the file run under CCSID 1144.
When I download it via IBM iAccess or simply with the CPYTOIMPF command, the uppercase accented vowels are transformed into their equivalent hexadecimal code.
Does anyone have any ideas or suggestions for me to overcome the problem?
Thanks in advance
I have a program that writes a physical file. The physical file has 4 char fields. The file must be downloaded in pure ascii txt format and then uploaded via ftp to our IRS systems.
In one of the 4 fields it can sometimes happen that there are accented capital vowels À or È or É or Ì or Ò or Ù (names of cities or people).
The physical file has CCSID 280 and from the terminal by doing DSPF you can clearly see the accented vowels.
Jobs that create the contents of the file run under CCSID 1144.
When I download it via IBM iAccess or simply with the CPYTOIMPF command, the uppercase accented vowels are transformed into their equivalent hexadecimal code.
Does anyone have any ideas or suggestions for me to overcome the problem?
Thanks in advance