Returns the associated CCSID of a given host system or the managing system or the EBCDIC code page character conversion override value, if one is specified on the Language tab of the iSeries™ Access Family Properties dialog.
unsigned long CWB_ENTRY cwbNL_GetHostCCSID( char * system, unsigned long * CCSID );
The following list shows common return values.
This API does not make or require an active connection to the host system to retrieve the associated CCSID value. However, it does depend on a prior successful connection to the host system. If no prior successful connection was made to the host system, the API determines the most appropriate associated host CCSID by using an internal mapping table.