KB Article #179467

How to send a file with NCHARSET=CP297 ?

Problem

Sending a file with FCHARSET=ASCII, NCHARSET=CP297


Error:
[Internal]
Local Diagnostic Code: 154
Description: 154
[Complementary]
Transcoding error: (iconv open) ASCII --> CP-297: Invalid argument (errno=22)
[Protocol]
ERRTRCOD



Resolution

The charset CP297 is not available on the system.


Use FCHARSET=CP850 and NCHARSET=CP1147 instead.


!!! cp297 is the same as CP1147 but without the EURO sign !!!


For such a characters translation, you can also use an XLATE table built from a CP850 to CP1147 charsets.