$UPARENPw. Informat

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.
Category: Character

Syntax

$UPARENPw.

Syntax Description

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

Details

If the UPAREN expression contains a national character, whose value is greater than Unicode 0x00ff, the expression will remain as a UPAREN expression.

Example

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>',$uparenp10.);
x=input('<u0063>',$uparenp10.);
y=input('<u0033>',$uparenp10.);
z=input('<u5927>',$uparepn10.);
put v;
put w;
put x;
put y;
put z;
a
b
c
3
<u5927>