List Table Attributes Task

About the List Table Attributes Task

The List Table Attributes task enables you to quickly see the date on which the data set was created and last modified, the number of rows, the encoding, any engine-dependent or host-dependent information, and an alphabetic list of the variables and their attributes. You can also view any directory and host/engine information by using this task.

Example: Table Attributes for the Sashelp.Pricedata Data Set

In this example, you want to view the table attributes for the Sashelp.Pricedata data set.
To create this example:
  1. In the Tasks section, expand the Data folder and double-click List Table Attributes. The user interface for the List Table Attributes task opens.
  2. On the Data tab, select the SASHELP.PRICEDATA data set.
  3. On the Options tab, select Create output data set.
  4. To run the task, click Submit SAS code.
Here is a subset of the results for the List Table Attributes task. These results are the enhanced report for the Sashelp.Pricedata data set.
Attributes for the Sashelp.Pricedata Table and the Variables in That Table
You can view the output data set from the Output Data tab.
Output Data Set from the List Table Attributes Task

Setting Options

Option Name
Description
Data set attributes
displays the attributes of the data set. Attributes include the data set name, member type, when the data set was created, when the data set was last modified, encoding, and so on.
Variables list
creates a list of all variables and their attributes. Attributes include variable name, type, length, and so on.
You can choose to display the variables in alphabetical order or in the order that they appear in the data set.
Directory information
displays the name of the directory where this data set is located.
Host/Engine information
displays the SAS engine, physical name, and filename for each level in the directory.
Create output data set
specifies to save the table attributes in an output data set.
Print output data set
includes the output data set in the results.