NLS

In NLS mode, converts between the internal character set and the external character set.

Syntax

NLS mapname

mapname is the name of the character set map to use for the conversion.

Remarks

On output using the Oconv function, the NLS conversion code maps a string from the internal character set to the external character set specified in mapname.

On input using the Iconv function, the NLS conversion code assumes that the supplied string is in the character set specified by mapname, and maps it to the internal character set. If mapname is set to Unicode, the supplied string is assumed to comprise 2-byte Unicode characters. If there is an odd number of bytes in the string, the last byte is replaced with the Unicode replacement character and the value returned by the Status function is set to 3.