Example: Using Unicode String Functions

This example shows how to use Unicode string functions:

/**********************************************************************
 In this example jdeStrncpy replaces strncpy. Also sizeof is
 replaced by DIM.
 *********************************************************************/
/* Set key to F38112 */

/*Unicode Compliant*/
jdeStrncpy(dsKey1F38112.dxdcto,
          (const JCHAR *)(dsF4311ZDetail->pwdcto),
          DIM(dsKey1F38112.dxdcto) - 1);