DATASETS Procedure

INFORMAT Statement

Assigns, changes, and removes variable informats in the data set specified in the MODIFY statement permanently.
Restriction: Must appear in a MODIFY RUN group
Modifying SAS Data Sets

Syntax

Required Argument

variable
specifies one or more variables whose informats you want to assign, change, or remove. If you want to disassociate an informat with a variable, list the variable last in the list with no informat following:
    informat a b 2. x1-x3 4.1 c;

Optional Argument

informat
specifies an informat for the variables immediately preceding it in the statement. If you do not specify an informat, the INFORMAT statement removes any existing informats for the variables in variable-list.
Tip:To remove all informats from a data set, use the ATTRIB statement and the _ALL_ keyword.