Chapter Contents

Previous

Next
The DATASETS Procedure

LABEL Statement


Assigns, changes, and removes variable labels in the SAS data set specified in the MODIFY statement.

Restriction: Must appear in a MODIFY RUN group
Featured in: Modifying SAS Data Sets


LABEL variable-1=<'label-1'|' '>
<...variable-n=<'label-n'|' ' >>;


Required Arguments

variable=<'label'>
assigns a label to a variable. If a single quote appears in the label, write it as two single quotes in the LABEL statement. Specifying variable= or variable=' ' removes the current label.
Range: 1-40 characters


Chapter Contents

Previous

Next

Top of Page

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