Previous Page
|
Next Page
$UNCR
w
. Informat
Reads an NCR character string, and then converts the character string to the encoding of the current SAS session.
Category:
Character
Syntax
Details
Comparisons
Example
See Also
Syntax
$UNCR
w
.
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 $UNCR
w
. informat performs processing that is opposite of the $UNCRE
w
. 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;
abc
See Also
Formats:
$UNCRw. Format
$UNCREw. Format
Informat:
$UNCREw. Informat
Copyright © SAS Institute Inc. All rights reserved.
Previous Page
|
Next Page
|
Top of Page