DATA Step, Macro, Functions and more

Formats into Dataset

Reply
N/A
Posts: 0

Formats into Dataset

Hi-
I'm trying to create a data dictionary for my dataset and willing to
read all the values for each format from the library into a dataset so
that I can export the same into Excel.
Any help is greatly appreciated.

Matt
Super User
Posts: 11,343

Re: Formats into Dataset

Posted in reply to deleted_user
If I understand your question, you're looking for the CNTLOUT= option on the Proc Format statement to create a data set with the format information. Specify the library and dataset name like any other.

I'd look at the contents closely before exporting as there is likely to be lot's of stuff you're not interested in.
Respected Advisor
Posts: 4,173

Re: Formats into Dataset

Posted in reply to deleted_user
Matt

If posting the same question in 2 groups I believe it would be kind of courtesy to tell people.

http://groups.google.com/group/comp.soft-sys.sas/browse_thread/thread/70088fe6915a0991/0dd2befe03ef3...

Cheers
Patrick
N/A
Posts: 0

Re: Formats into Dataset

Patrick-
This is kind of an urgent requirement so I had to post on the other groups too.

Ballard- thanks for the help.

Matt
Ask a Question
Discussion stats
  • 3 replies
  • 134 views
  • 0 likes
  • 3 in conversation