Date: Tue, 3 Apr 2001 13:47:31 -0400
Reply-To: "Fehd, Ronald J." <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J." <rjf2@CDC.GOV>
Subject: tip: proc FORMAT null ne space
Content-Type: text/plain; charset="iso-8859-1"
I am doing R&D and dumping a format library to a data set
While reviewing the output data set I came across this weirdness:
proc FORMAT library = WORK
cntlout = FORMATS;
value $TEST '' = 'NULL'
' ' = 'SPACE';
proc PRINT;
run;
obs FmtName Start End Label
--- ------- ----- --- -----
595 TEST SPACE
596 TEST ' ' NULL
NULL equals sQuote?!
not what I expected.
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
OpSys: WinNT Ver: 8.1
---> cheerful provider of TESTED SAS code!*! <---
e-mail your SAS improvements to: suggest@sas.com
archives: http://www.listserv.uga.edu/archives/sas-l.html
remember perspective: the error is not always where it seems to occur! --
RJF2