FOMC2832
The code pages were not changed. Conversion from the ASCII code page to the EBCDIC code page cannot be set up. function = iconv(), ASCII code page = "string", EBCDIC code page = "string", input bytes left = number, output bytes left = number, return value = number, errno = number (X'hexnum'), reason code = hexnum, message = "string"

Explanation

The chcp command must build the ASCII to EBCDIC conversion table for this terminal. Both code pages contain single-byte codes, but chcp could not set up a 256-byte character conversion table. Either iconv() failed with the errno and reason code in the message, or the tables output from iconv() were not 256 bytes long. The code pages were not changed.

In the message text:
ASCII code page = "string"
The requested ASCII code page.
EBCDIC code page = "string"
The requested EBCDIC code page.
input bytes left = number
The number of ASCII code points that can not be converted.
output bytes left = number
The number of EBCDIC code points that are not used.
return value = number
The return value reported by the system for this error.
errno = number (X'hexnum')
The errno value returned by the system for this error. For more information about this errno value, see z/OS XL C/C++ Runtime Library Reference. If errno = 0, no errno information is available from the system for this error.
reason code = hexnum
The reason code returned by the system for this error. For more information about this reason code, see z/OS UNIX System Services Programming: Assembler Callable Services Reference.
message = "string"
A system error message that describes this error as reported by errno. If errno = 0, this message is not meaningful.

System programmer response

For more information about this error, see z/OS XL C/C++ Runtime Library Reference and z/OS UNIX System Services Programming: Assembler Callable Services Reference. Follow any problem determination procedures suggested for the errno value and the other error information shown in the message. Additional error messages may appear on the system console when this error occurs. If so, also follow any user responses for those messages.

User response

Make sure the code pages shown in the error message are correct. If not, reenter the chcp command using the -a ASCII_cp and -e EBCDIC_cp options to specify the correct code pages.

If the code pages are correct, report this error to the system programmer.