Demand Planning.Net: Are you Planning By Exception?
Demand Planning.Net
demand planning, forecasting, and exception management

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.

Back to SAS Techniques

©2004-2019. by Demand Planning, LLC. All rights reserved. Privacy policy | Refund and Exchange policy | Terms of Service | FAQ
Demand Planning, LLC is based in Boston, MA , USA| Phone: (781) 995-0685 | Email us!

Consulting

Diagnostic |  DP Design |  Exception Management |  S&OP |  Solutions

Training

Demand Planning |  S&OP |  Retail Forecasting |  Supply Chain Analysis:  » Value Chain Metrics  » Inventory Optimization |  Supply Chain Collaboration

Industry

CPG/FMCG |  Food and Beverage |  Retail |  Pharma |  High Tech |  Other

Knowledge Base

Planning:  » Budgeting » S&OP |  Metrics: » Demand Metrics » Inventory  » Customer Service |  Collaboration:  » VMI & CMI » Account Based Forecasting
Forecasting:  » Causal Modeling  » Market Modeling  » Ship to Share |  For Students