29.12.2013 Views

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

458 Results: FORMAT Procedure 4 Chapter 23<br />

Results: FORMAT Procedure<br />

Output Control Data Set<br />

The output control data set contains information that describes informats or formats.<br />

Output control data sets have a number of uses. For example, an output control data<br />

set can be edited with a DATA step to programmatically change value ranges or can be<br />

subset with a DATA step to create new formats and informats. Additionally, you can<br />

move formats and informats from one operating environment to another by creating an<br />

output control data set, using the CPORT procedure to create a transfer file of the data<br />

set, and then using the CIMPORT and FORMAT procedures in the target operating<br />

environment to create the formats and informats there.<br />

You create an output control data set with the CNTLOUT= option in the PROC<br />

FORMAT statement. You use output control data sets, or a set of observations from an<br />

output control data set, as an input control data set in a subsequent PROC FORMAT<br />

step with the CNTLIN= option.<br />

Output control data sets contain an observation for every value or range in each of<br />

the informats or formats in the LIBRARY= catalog. The data set consists of variables<br />

that give either global information about each format and informat created in the<br />

PROC FORMAT step or specific information about each range and value.<br />

The variables in the output control data set are<br />

DEFAULT<br />

a numeric variable that indicates the default length for format or informat<br />

END<br />

a character variable that gives the range’s ending value<br />

EEXCL<br />

a character variable that indicates whether the range’s ending value is excluded.<br />

Values are<br />

Y<br />

N<br />

the range’s ending value is excluded<br />

the range’s ending value is not excluded<br />

FILL<br />

for picture formats, a numeric variable whose value is the value of the FILL=<br />

option<br />

FMTNAME<br />

a character variable whose value is the format or informat name<br />

FUZZ<br />

a numeric variable whose value is the value of the FUZZ= option<br />

HLO<br />

a character variable that contains range information about the format or informat<br />

in the form of eight different letters that can appear in any combination. Values<br />

are<br />

F<br />

H<br />

I<br />

standard <strong>SAS</strong> format or informat used for formatted value or<br />

informatted value<br />

range’s ending value is HIGH<br />

numeric informat range (informat defined with unquoted<br />

numeric range)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!