VARIABLE ATTRIBUTE

VARIABLE ATTRIBUTE provides you with the ability to define your own variable attributes and assign attribute values to variables in the active dataset.

VARIABLE ATTRIBUTE  
         VARIABLES=varlist 
         ATTRIBUTE=name('value') name('value')...
                   arrayname[1]('value') arrayname[2]('value')...
         DELETE=name name...
                arrayname[n] arrayname...
         /VARIABLES...

This command takes effect immediately. It does not read the active dataset or execute pending transformations. See the topic Command Order for more information.

Release History

Release 14.0

Example

VARIABLE ATTRIBUTE VARIABLES=Age Gender Region 
  ATTRIBUTE=DemographicVars ('1').