|Date: ||Fri, 21 Apr 2006 15:54:50 -0400|
|Reply-To: ||Randy Herbison <RandyHerbison@WESTAT.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Randy Herbison <RandyHerbison@WESTAT.COM>|
|Subject: ||Re: Q: long format names internally truncated?|
|Content-Type: ||text/plain; charset="us-ascii"|
VIEWTABLE, which is part of Base SAS, and the SAS/AF SCL functions for
handling formats/informats will truncate long format/informat names
From: email@example.com [mailto:firstname.lastname@example.org]
On Behalf Of Jack Hamilton
Sent: Friday, April 21, 2006 3:45 PM
To: Jim Groeneveld
Subject: Re: [SAS-L] Q: long format names internally truncated?
I can't say that there's no part of SAS that truncates format names
internally (some old AF application might), but no part of base SAS that
I've encountered does so.
We ran into an interesting problem when we updated from 8.2 to 9.1.
Someone had a program in which they specified the format WEEKDATEX.
There's no such format, but in 8.2 it was truncated to WEEKDATE, and the
program ran (results not exactly right, but apparently the writer didn't
notice that). When we switched to 9.1, the program stopped running,
because WEEKDATEX is not a valid format name (they needed WEEKDATX).
on 4/21/2006 3:30 AM Jim Groeneveld said the following:
> Hi friends,
> In SAS 9.1.3. long(er) format names are possible than those of vs.
> 8.x. The name limits in characters were: numeric format: 8
> numeric informat: 7
> character format: 7 (excl. the $)
> character informat: 6 (excl. the $)
> I think these limits now are 24 characters higher.
> Does anyone of you know since which sub version those new limits
> Are those format names also used internally; e.g. is there a
> difference between the numeric formats with names WriteFmtA and
> WriteFmtB? I have doubts about that as I've seen a conversion to a
> dataset with the CNTLOUT option of PROC FORMAT, where a nested format
> name was truncated.
> I could develop some testing code, but maybe you already did that or
> know the answer. And if only 6 to 8 characters of format names are
> significant, where is that indicated in the SAS9 documentation?
> Regards - Jim.
> Jim Groeneveld, Netherlands
> Statistician, SAS consultant