Date: Wed, 24 May 2000 17:49:06 -0400
Reply-To: Abelson_R <Abelson_R@BLS.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Abelson_R <Abelson_R@BLS.GOV>
Subject: Re: Reverse engineer a format
Content-Type: text/plain
David,
Yes. You can use the CNTLOUT= option in PROC FORMAT to get a dataset
containing all the information stored in the format. The CNTLOUT dataset
has a very specific structure that you'll have to RTFM to understand.
If you just want printed output, you can use PROC FORMAT FMTLIB
LIBRARY=<your format library>;
HTH.
Robert Abelson
Bureau of Labor Statistics
abelson_r@bls.gov
"Anyway, no drug, not even alcohol, causes the fundamental ills of society.
If we're looking for the source of our troubles, we shouldn't test people
for drugs, we should test them for stupidity, ignorance, greed and love of
power."
P.J. O'Rourke
> ----------
> From: Boylan, David[SMTP:DBoylan@HRBLOCK.COM]
> Sent: Wednesday, May 24, 2000 5:33 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Reverse engineer a format
>
> We have a format on our library originally developed from a data set. We
> use the format all of the time, but, somehow lost the SAS data set from
> which it was created. Is there any way to "write" out the format (value
> or
> value ranges and labels) back to a data set. Please advise.
>
> Thanks
>
> David Boylan
> iFactor
> Business Solutions Consultant with
> H&R Block Corporate Marketing Decision Support
> Voice: (816) 932-4834
> Fax: (816) 932-8350
> Email: dboylan@hrblock.com
> Email: davidboylan@teambsi.com
>
|