Date: Fri, 12 Jul 2002 13:36:44 +0800
Reply-To: YCF <yiu628fan@YAHOO.COM.HK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: YCF <yiu628fan@YAHOO.COM.HK>
Organization: The Chinese University of Hong Kong
Subject: A little problem about "Space delimited" file
Hi all,
I have a "space delimited" data file (filename: testing.prn) like this:
d_no. Name Status Code Company name
1 John Chan Y . ABC Ltd.
1 Peter Wong . 2 .
1 Ann Lee . 1 .
I use 'infile' and 'input' to read the data. However, the "proc print"
output is like this:
d_no. Name Status Code Company name
1 John Chan Y . ABC Ltd.
1 Peter Wong 2
1 Ann Lee 1
There is no ' . ' but just a blank to denote the missing value of a
Character variable. Are there any methods such that ' . ' can be printed out
to denote the missing value? Thanks very much!!
YCF
|