Reads a character string that is encoded in UPAREN representation,
and then converts the character string to the encoding of the current SAS
session, with national characters remaining in the encoding of the UPAREN
representation.
- w
-
specifies the width of the input field.
Default: |
8 |
Range: |
1-32000 |
If the UPAREN expression contains a national character,
whose value is greater than Unicode 0x00ff, the expression will remain as
a UPAREN expression.
These examples use the Japanese Shift_JIS encoding, which is supported
under the UNIX operating system.
Statements |
Results |
|
----+----1----+
|
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
<u5927>
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.