Below are the difference in SAS doc:
The $w. informat is almost identical to the $CHARw. informat. However, $CHARw. does not trim leading blanks nor does it convert a single period in an input field to a blank, while $w. does both.
data num; infile datalines dlmstr="|" missover; length x $10; attrib y length=$10 informat=$char10.; length z $10; input x y z; put x= y= z=; * y is period while z is blank; datalines; 1|.|. ;
No comments:
Post a Comment