WHAT is SAS? SAS stands for STATISTICAL ANALYSIS SYSTEM. The SAS System is an integrated suite of software for enterprise-wide information delivery. The functionality of the system is built around the four data-driven tasks common to virtually any application -- data access, data management, data analysis and data presentation. Applications of the SAS System include executive information systems; data entry, retrieval, and management; report writing and graphics; statistical and mathematical analysis; business planning, forecasting, and decision support; operations research and project management; statistical quality improvement; computer performance evaluation; and applications development. The SAS System is modularly designed to give organizations the flexibility to license only the functionality they need. As their needs grow and change, additional components can be added on in a completely integrated manner across the wide range of computing environments supported by the software. And more (visit the web sites given below for detail). Where is SAS Institute? Cary, NC What SAS Institute grants to UNC schools? $3 million grant of products. http://www.northcarolina.edu/ir/procurement/SASvideoconference.html ================== sample SAS programs: http://ftp.sas.com/techsup/download/sample/graph/gmap-examples-list.html ================== search the following from "Help": 1. GLM: choose data analysis; you will see manual: SAS SYSTEM HELP: Data Analysis Regression Analysis of Categorical Elementary Multivariate CALIS Variance CATMOD CAPABILITY CALIS GLM ANOVA CORRESP CORR CANCORR LIFEREG GENMOD FREQ FREQ CORRESP LOGISTIC GLM GENMOD MEANS FACTOR NLIN LATTICE LOGISTIC SUMMARY GLM ORTHOREG MIXED PRINQUAL TABULATE MDS PROBIT NESTED PROBIT UNIVARIATE MULTTEST REG NPAR1WAY PRINCOMP RSREG PLAN PRINQUAL TRANSREG TTEST Utility Survival REG VARCOMP GLMMOD Analysis TRANSREG Clustering INBREED LIFEREG ACECLUS RANK LIFETEST CLUSTER SCORE LOGISTIC Discriminant FASTCLUS STANDARD PHREG CANDISC MODECLUS Functions PROBIT DISCRIM TREE STEPDISC VARCLUS 2. File extension Windows File Extensions and their Corresponding SAS Data Types File Extension SAS Member Type Description .SAS none SAS program .SS2 PROGRAM stored program (DATA step) .LST none output .LOG none log .SD2 DATA data set .SV2 VIEW data set view .SI2 none data set index. Indexes are stored as separate files but are treated by the SAS System as integral parts of the SAS data file. .SC2 CATALOG SAS catalog .SA2 ACCESS access descriptor .SF2 FDB financial database .SM2 MDDB multi-dimensional database .SU2 none utility file .SP2 none permanent utility 3. DATA MODEL 4. read data (data reading, infile) Using the RECFM= option in the FILENAME, FILE, %INCLUDE, and INFILE statements enables you to specify the record format of your external files. The following example shows you how to use this option. Usually, the SAS System reads a line of data until a carriage return and line feed combination ('0D0A'x) are encountered or until just a line feed ('0A'x) is encountered. However, sometimes data do not contain these carriage control characters but do have fixed-length records. In this case, you can specify RECFM=F to read your data. To read such a file, you need to use the LRECL= option to specify the record length and the RECFM= option to tell the SAS System that the records have fixed-length record format. Here are the required statements: data test; infile "test.dat" lrecl=60 recfm=f; input x y z; run; In this example, the SAS System expects fixed-length records that are 60 bytes long, and it reads in the three numeric variables X, Y, and Z. You can also specify RECFM=F when your data do contain carriage returns and line feeds, but you want to read these values as part of your data instead of treating them as carriage control characters. When you specify RECFM=F, the SAS System ignores any carriage controls and line feeds and simply reads the record length you specify.