LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: "Boylan, David" <DBoylan@HRBLOCK.COM>
Content-Type: text/plain


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>;


Robert Abelson Bureau of Labor Statistics "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: > Email: >

Back to: Top of message | Previous page | Main SAS-L page