Search the site...

SASCRUNCH TRAINING
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
Sentry Page Protection
Please Wait...
Variable Attributes [1-17]


The 6 Attributes of SAS Variables
Each variable in SAS has 6 attributes (properties):
  • Name
  • Label
  • Length
  • Type
  • Format
  • Informat
Picture


How to review variable attributes?

The list of variable attributes can be found from the column properties.

Example

Locate the CARS data set from the SASHelp library.​
Picture

Then click the arrow on the left of the data set to expand the variable list:
Picture

From the variable list, double click on the variable of interest:
Picture

The Column Properties will pop up with the list of variable attributes:
Picture

The variable EngineSize has the following attributes:
  • Name: EngineSize
  • Label: Engine Size (L)
  • Length: 8
  • ​Type: Numeric

There is no format and informat assigned to this variable.

Each of these attributes will be explained in full detail later in this module.

Exercise

Locate the FISH data set from the SASHelp library.

Open the Column Properties from the Species variable.

List the 6 attributes assigned to this variable

E.g.
Label:
Name:
Length:
Type:
Format:
Informat:

Next

Need some help? 


HINT:
The variable Species is the fifth variable on the variable list.


Name: Species
Length: 9
Type: Char

There is no label, format and informat assigned to this variable.


Fill out my online form.

Already a member? Go to member's area.