| Standards/Extensions | C or C++ | Dependencies |
|---|---|---|
| Language Environment | both | z/OS V1R2 or later |
#include <ctype.h>
void __ae_thread_setmode(int aemode);
If the value for aemode is other than the values shown above, the thread's ASCII/EBCDIC mode will remain unchanged.
The TCP/IP resolver is reinitialized, if already initialized, in the new character mode. This function or __ae_thread_swapmode() must be used before and after calls between EBCDIC and ASCII portions of an application.
If successful, __ae_thread_setmode() changes the character mode.
If unsuccessful, __ae_thread_setmode() will terminate with either message EDC6254 or EDC6255.
There are no documented errnos for this function.