Procedure features: |
PROC FORMAT statement options:
|
|
Other features: |
|
Data sets: |
|
This
example uses the LIBRARY= option and the FMTSEARCH= system option to store
and retrieve a format stored in a catalog other than WORK.FORMATS or LIBRARY.FORMATS.
libname proclib 'SAS-data-library';
options nodate pageno=1 linesize=64 pagesize=60;
| proc format library=proclib; |
| picture nozeros
low - -1 = '00.00' (prefix='-' )
-1 <-< 0 = '99' (prefix='-.' mult=100)
0 -< 1 = '99' (prefix='.' mult=100)
1 - high = '00.00';
run; |
| options fmtsearch=(proclib); |
| proc print data=sample;
format amount nozeros.;
title1 'Retrieving the NOZEROS. Format from PROCLIB.FORMATS';
title2 'The SAMPLE Data Set';
run; |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.