Chapter Contents

Previous

Next
The FORMAT Procedure

Procedure Syntax


Restriction: You cannot use a SELECT statement and an EXCLUDE statement within the same PROC FORMAT step.
Reminder: You can also use appropriate global statements with this procedure. See Global Statements for a list.

PROC FORMAT <option(s)>;
EXCLUDE entry(s);
INVALUE <$>name <(informat-option(s))>
value-range-set(s);
PICTURE name <(format-option(s))>
value-range-set-1 <(picture-1-option(s) )>
<...value-range-set-n <(picture-n-option(s))>>;
SELECT entry(s);
VALUE <$>name <(format-option(s))>
value-range-set(s);

To do this Use this statement
Exclude catalog entries from processing by the FMTLIB and CNTLOUT= options EXCLUDE
Create an informat for reading and converting raw data values INVALUE
Create a template for printing numbers PICTURE
Select catalog entries from processing by the FMTLIB and CNTLOUT= options SELECT
Create a format that specifies character strings to use to print variable values VALUE


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.