• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Analysis Factor

The Analysis Factor

Statistical Consulting, Resources, and Statistics Workshops for Researchers

  • our programs
    • Membership
    • Online Workshops
    • Free Webinars
    • Consulting Services
  • statistical resources
  • blog
  • about
    • Our Team
    • Our Core Values
    • Our Privacy Policy
    • Employment
    • Collaborate with Us
  • contact
  • login

SAS error

With SAS, it’s almost always the semicolons!

by Karen Grace-Martin  Leave a Comment

With SAS, it’s almost always the semicolons!

I read that recently–I can’t remember where now (if you wrote it, let me know–I’ll link!).

I spent the day at Cornell doing SAS programming;  I kept expecting Andy Bernard to show up.

Anyway, I was reminded of that quote because, as you guessed it, it was almost always that I forgot a semicolon when I got a SAS error.  The errors never mention a semicolon, but that is always the first thing to check for.

I was also reminded today that another common mistake is to forget the SET statement when creating a new data set.  If SAS tells you your variables don’t exist, but you know they do, it’s because you forgot the SET statement.

I was also reminded of my best SAS time saver ever.  F12: output;cle;log;cle;wpgm.  At first I set it up wrong and was lost for a few minutes without it.  Luckily I discovered my mistake pretty quickly.

Tagged With: SAS, SAS error

Related Posts

  • Multiple Imputation in a Nutshell
  • Statistical Software Access From Home
  • Member Training: What’s the Best Statistical Package for You?
  • The Secret to Importing Excel Spreadsheets into SAS

Primary Sidebar

This Month’s Statistically Speaking Live Training

  • Member Training: The Link Between ANOVA and Regression

Upcoming Workshops

    No Events

Upcoming Free Webinars

TBA

Quick links

Our Programs Statistical Resources Blog/News About Contact Log in

Contact

Upcoming

Free Webinars Membership Trainings Workshops

Privacy Policy

Search

Copyright © 2008–2023 The Analysis Factor, LLC.
All rights reserved.

The Analysis Factor uses cookies to ensure that we give you the best experience of our website. If you continue we assume that you consent to receive cookies on all websites from The Analysis Factor.
Continue Privacy Policy
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT