Enhancements to the User Interface

Changes in the Navigation Pane

Folders Section

In the Folders section in the navigation pane, you can create folder shortcuts.
Folder Shortcuts in the Folders section
Note: The enhancements to the Folders section are not available from the iPad for SAS Web Editor 2.5.

Libraries Section

In the Libraries section in the navigation pane, you can expand a table to see all of the columns in that table. The icon in front of the column name indicates the type.
Here are examples of common icons for the column types.
Icon
Type of Column
Character icon
Character
Numeric icon
Numeric
Date icon
Date
Datetime icon
Datetime
This example shows all the columns in the Sashelp.Cars table.
Cars Table in the Libraries Section
To view the properties of a column, select the column name and click Properties button. In the Column Properties window, you can edit the column name and the label.
Here is an example of the properties for the Invoice column in the Sashelp.Cars table.
Example of a Column Properties Window
Note: The enhancements to the Libraries section are not available from the iPad for SAS Web Editor 2.5.

Filtering and Sorting Your Data

In the table viewer, you can right-click a column heading to filter and sort the data by that column.
New Context Menu for Adding a Filter
The filter options vary depending on the type of column that you have selected. The Add Filter window for a numeric column enables you to specify a value.
Example of the Add Filter Window for a Numeric Column
The Add Filter window for a character column enables you to select one or more values in the column.
Example of the Add Filter Window for a Character Column
The Add Filter window for a date column enables you to select a date value from a pop-up calendar window.
Example of the Add Filter Window for a Date Column
When you create a filter on your data, the filter criteria are displayed at the top of the workspace. You can click Filter table rows button to edit the filter and Clear filter button to delete the filter.

Automatically Formatting Your SAS Code

You can use the code editor to make your programs easier to read by automatically formatting your code. When you automatically format your code, line breaks are added, and each line is correctly indented according to its nesting level. To format the code in the code editor, click Format code button.
For example, the following code is difficult to read because it lacks indention and logical line breaks:
data topn;
length rank 8; label rank="Rank";
set topn; by &category descending &measure
if first.&category then rank=0; rank+1;
if rank le &n then output;
run;
After you use the automatic code-formatting feature, the program looks like this:
data topn;
    length rank 8;
    label rank="Rank";
    set topn;
    by &category descending &measure

    if first.&category then
        rank=0;
    rank+1;

    if rank le &n then
        output;
run;