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