image link to Publications index

SAS Tutorial for UNIX

Contents
Introduction
Session 1
Session 2
Session 3
Session 4
Session 5
Session 6
Odds -n- Ends
 
 
 
 
 
 
 
 
 
 

This hands-on tutorial will familiarize the user with the basics of using SAS in a Linux/UNIX environment. You may move back and forth between this tutorial and an Linux/UNIX session in order to complete the interactive exercises.

Table of Contents

      Introduction

        Getting started
        SAS-in-a-Nutshell

      Session 1

        Formatting data for SAS
        Understanding terms
        Rules for SAS names and SAS statements

      Session 2

        DATA statement
        INPUT statement
        CARDS statement
        Semicolon
        TITLE statement
        How to run a SAS program
        Session 2 Exercise

      Session 3

        PROC PRINT statement
        PROC FREQ statement
        Session 3 Exercise

      Session 4

        LABEL statement
        PROC MEANS statement
        PROC UNIVARIATE statement
        PROC PLOT statement
        Session 4 Exercise

      Session 5

        Attaching formats to variable values
        IF/THEN; ELSE; statement
        Session 5 Exercises

      Session 6

        SET statement
        IF statement
        PROC SORT statement
        Session 6 Exercises

      Odds -n- Ends

        A few suggestions to try on your own
        Printing files in UNIX/Linux
        Running SAS in the background
        Running SAS interactively on UNIX/Linux

© University of New Mexico -- 090905 -- comments to: docs@unm.edu