Example

The following example shows how to determine if the OIA indicates that double byte character set (DBCS) characters are enabled.

//-------------------------------------------------------------------
// ECLOIA::IsDBCS
//
// Determine status of connection 'A' OIA indicator
//-------------------------------------------------------------------
void Sample50() {
 
ECLOIA OIA('A');   // OIA object for connection A
 
if (OIA.IsDBCS())
  printf("DBCS.\n");
else
  printf("Not DBCS.\n");
 
} // end sample