|Date: ||Thu, 26 Apr 2007 21:27:04 +0000|
|Reply-To: ||toby dunn <tobydunn@HOTMAIL.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||toby dunn <tobydunn@HOTMAIL.COM>|
|Subject: ||Re: Strange (to me) format issue|
|Content-Type: ||text/plain; format=flowed|
The format name is longer than 8 characters including the $. It should be
fixed in V.9.2 . By the way it aint limited to the table viewer.
You can see a lot by just looking. ~Yogi Berra
Do not seek to follow in the footsteps of the wise. Seek what they sought.
You never know what is enough, until you know what is more than enough.
~William Blake, Proverbs of Hell
From: "Nordlund, Dan (DSHS/RDA)" <NordlDJ@DSHS.WA.GOV>
Reply-To: "Nordlund, Dan (DSHS/RDA)" <NordlDJ@DSHS.WA.GOV>
Subject: Strange (to me) format issue
Date: Thu, 26 Apr 2007 14:14:55 -0700
I was asked a question about formats that I was not able to answer. Given
the following data step and print procedure
'a' = 'alpha'
'b' = 'bravo'
'c' = 'charley'
format x $alphafmt.;
The format, $alphafmt, is associated with the variable x. When printed out
PROC PRINT, the value of x is displayed as 'alpha' (without the quotes), but
the value displayed when browsing the dataset with SAS Explorer is just 'a'.
The dataset properties window says that the format is associated with the
If the format name is shortened by one or more characters, say $alphfmt,
then the formatted value is used for display in SAS Explorer. Anybody have
an explanation? Is this a "bug" in SAS Explorer related to the limit on
format name length in prior versions of SAS. I am using SAS 9.1.3 Service
Pack 4 on a WinXP Pro box.
Thanks for any enlightenment that I am sure is forthcoming. :-)
Daniel J. Nordlund
Research and Data Analysis
Washington State Department of Social and Health Services
Olympia, WA 98504-5204
Get a FREE Web site, company branded e-mail and more from Microsoft Office