***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.