Date: Thu, 25 Jan 2007 16:27:48 -0500
Reply-To: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject: Re: How to reset fmtsearch= option to default catalog
Content-Type: text/plain; charset="us-ascii"
> From: Raj
> How to reset the fmtsearch= option so that it searches the
> default catalog where sas supplied formats are stored.
> Where are they stored anyway ?
>
> thanks,
> Raj
>
> My sas program keeps erroring out with,
> ERROR 48-59: The format $DDMMYY was not found or could not be loaded.
unless you have reset fmtsearch it searching the
work and libref=library
formats.catalogs.
%Put fmtsearch<%sysfunc(getoption(fmtsearch))>;
1 %Put fmtsearch<%sysfunc(getoption(fmtsearch))>;
fmtsearch<(WORK LIBRARY)>
iirc, this error comes from having a data set with a variable
that has the named format associated with it
and there is no such format in any of the libref
named in the fmtsearch list.
try this:
options nofmterr;
see also:
proc options define value option = fmtsearch;
run;
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov