$UNCRw. Informat

Reads an NCR character string, and then converts the character string to the encoding of the current SAS session.
Category: Character

Syntax

$UNCRw.

Syntax Description

w
specifies the width of the input field.
Default:8
Range:1–32000

Details

The input string must contain only characters and NCR. Any national characters must be represented in NCR.

Comparisons

The $UNCRw. informat performs processing that is opposite of the $UNCREw. informat.

Example

These examples use the Japanese Shift_JIS encoding, which is supported under the UNIX operating system.
Statements
Result
----+----1----+
x=input ('大', $uncr10.);
y=input('abc', $uncr10.);
put X;
put Y;
Japanese
abc

See Also

Informat: