Specifies a label for a SAS data set.
Valid in: | DATA and PROC steps |
Category: | Data Set Control |
Supports: | SAS data set |
specifies a text string of up to 256 characters. If the label text contains single quotation marks, use double quotation marks around the label. As an alternative, 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.
data myfiles.w2 (label='1976 W2 Info, Hourly');
data myfiles.new (label='Peter''s List');
data myfiles.new (label="Hillside's Daily Account");
data myfiles.sales (label='Sales For May(NE)');