DATASETS Procedure

LABEL Statement

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

Syntax

Required Argument

variable=<'label'>
specifies a text string of up to 256 characters. If the label text contains single quotation marks, use double quotation marks around the label, or use two single quotation marks in the label text and enclose the string in single quotation marks. To remove a label from a data set, assign a label that is equal to a blank that is enclosed in quotation marks.
Range:1 - 256 characters
Tip:To remove all variable labels in a data set, use the ATTRIB statement and the _ALL_ keyword.