



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




O Rules for SAS Statements -- See Online Help & Textbook
O SAS Data Set (32,767 variables and ??? rows) (# rows is only limited by the resources on your computer)
--syntax is checked --statement is compiled (if correct) --input buffer is set-up (records, cards, data lines, etc.) --program data vector is set-up and all variables are set to missing values --descriptor portion is initialized -- among other things, the six characteristics of each variable are initialized Name Type Length Informat Format Label During Execution Phase: --each record is read processed and written to the program data vector --When the ending of a Data Step is encountered ...
records to read. Then the Data Step is closed & SAS goes on to the next Data Step or Proc Step. Info that you supply to create a SAS Data Set --input statements to tell SAS how to read the records --definitions of variables & indicators of whether they are numeric or character --specific location of raw data (cards, file, tape, cassett, etc.) TELLING SAS HOW TO READ THE DATA : Styles of Input There are three basic input styles as well as various format modifiers and pointer controls. --List Input - simply place variable names in the INPUT statement and at least one space between each value in the data lines. (while it may not appear so, this type of input places restrictions on your data) input name $ test1 test2 test3; (See Program SAS_Lec#1_input_01.sas) --Column Input - reads the same data variable from the exact