Demand Planning.net
About Us | Questions and Answers | Resources | Job Postings | Comments | Contact Us

Forecasting Links:

Time Series
Exception Analysis
Causal Modeling
SAS Techniques
Forecast Reconciliation

Contact

Demand Planning, LLC
Post Office Box 261
Lexington, MA 02420

617.297.2385

 

SAS Techniques - Random Notes on SAS challenges and solutions

How to check out the contents of a SAS format library?
Mark C July 29, 2005

To check out the contents of the format library, we use the proc format statement with a fmtlib option.

proc format fmtlib library=catlgdata;
select $class $desc;
run;


catlgdata is the name of the SAS library that contains the format datasets.  fmtlib is the option that is seeking a listing of the formats. If you don’t use a select statement, all formats will be listed and output to your SAS lists. The above statements select two put formats or what are called formats. These map to a character value.

proc format fmtlib library=catlgdata;
select @prc;

The above calls a listing of the informat prc which maps to a numeric value. You don’t need the ending period when using the select statement as in $class. however you do need them when you are calling a format in regular SAS programs.

Home | Planning | Metrics | POS Analysis | Forecasting | Workshops | Services
About Us | Questions | Resources | Jobs | Comments | Contact Us!

© 2004 by by Mark Chockalingam. All rights reserved. Privacy policy.