Date: Thu, 2 Aug 2007 12:43:11 -0700
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Scott Barry <sbarry@SBBWORKS.COM>
Subject: Re: SAS Date Format $YYMMDD was not found
Content-Type: text/plain; charset="us-ascii"
On Aug 2, 3:16 pm, sba...@sbbworks.com wrote:
> On Aug 2, 3:08 pm, nichas <sachin.gad...@gmail.com> wrote:
> > On Aug 2, 11:49 pm, anderson...@gmail.com wrote:
> > > On Aug 2, 1:47 pm, anderson...@gmail.com wrote:
> > > > I'm trying to convert a string to a data format and get the following
> > > > error:
> > > > The format $YYMMDD was not found or could not be loaded.
> > > > Is it possible the permanant format library default location was
> > > > changed? How can I check this and reset it?
> > > > Many Thanks,
> > > > Aaron
> > > BTW I'm using Base SAS 9.1 on windows.
> > Can you just give a code snippet example, so that how to answer your
> > question can be thought of.
> Check your INFORMAT/FORMAT usage - there is not character-format "$"
> as you have stated. Check the SAS Language Dictionary and the SAS
> Date formats.
> Scott Barry
> SBBWorks, Inc.- Hide quoted text -
> - Show quoted text -
Unfortunately, here is one of this SAS quirks, where the software
attempts to right your wrong, meaning that anytime SAS tells you that
it could not find a $-whatever_format_you_may_use it is actually
telling you that the attempt to use your SAS CHARACTER variable was
unsuccessful because the CHARACTER FORMAT you requested (not really
though) could not be loaded. For this instance, you really need to
heavy-up on the use of SAS DATE (numeric) variables.
I definitely agree with the reply that suggested you post your code
for useful and most-efficient feedback.