Reads an NCR character string, and then converts the character
string to the encoding of the current SAS session.
- w
-
specifies the width of the input field.
Default: |
8 |
Range: |
1-32000 |
The input string must contain only characters and NCR.
Any national characters must be represented in NCR.
The $UNCRw. informat performs
processing that is opposite of the $UNCREw. informat.
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;
|
![[untitled graphic]](images/uncrinfchar.gif)
abc |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.