SAS Basic Certification Prep Notes (No updating any more)

***Note**** As of 7/2011, I will no longer update any notes since I have passed the SAS Base Certificate.:)

It has been a long time since I wanted to take SAS Base Certification test. Now I got started taking the actions. I am trying to make notes for what I learned in preparation process. Let us start.

1. Libname to assign a library for the data.
e.g.: Libname Clinic ‘data file path’

2. SAS name can be 1-32 characters long; begin with a letter or _ or combination.

3. For missing value, a Blank-> character, Period->numeric.

4. Libname is global, remain in effect until modify,cancel or end SAS.

5. CONTENTS Procedure
Proc CONTENTS data=name._ALL_ Nodetails

6. OPTIONS nonumber nodate pageno= pagesize= linesize= yearcutoff(affect 2-digits year)= firstobs= obs(the last obs be seen)=

7. Proc Options option= (to display all options or one in SAS.)

8. A good SAS Programming: Begin DATA and PROC steps in colum one; indent statements within a step; begin RUN: statement in column one; include a RUN statement after every DATA step or PROC step.

9. Syntax Errors: statements do not conform to the rules of the SAS.

10. Unbalanced Quotation Marks. Simply adding a quotation mark and resubmitting does NOT solve. We need to (1) submit *’;run; (2) remove (1) and add quotation mark, and run. (3)submit.

11. comments: *text; or /*text*/

12. SAS stops when meet a syntax error.

About Lincoln

Welcome to Haolai(Lincoln)'s Website! I am now a doctoral student in Statistics at Western Michigan University, USA. Have fun here!
This entry was posted in Statistics and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>