Reads a character string that is encoded in UPAREN representation,
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 |
If the SAS session encoding does not have a corresponding
Unicode expression, the expression will remain in encoding of the current
SAS session.
The $UPARENw. informat performs
processing that is opposite of the $UPARENEw.
informat.
These examples use the Japanese Shift_JIS encoding, which is supported
under the UNIX operating system.
Statements |
Results |
v=input('<u0061>',$uparen10.);
w=input('<u0062>',$uparen10.);
x=input('<u0063>',$uparen10.);
y=input('<u0033>',$uparen10.);
z=input('<u5927>',$uparen10.);
put v;
put w;
put x;
put y;
put z;
|
a
b
c
3
![[untitled graphic]](images/uncrinfchar.gif)
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.