Learning Tips for SAS
Saturday, March 15, 2008
PROC PRINT - NOOBS option
›
proc print data=test noobs; The PROC PRINT step prints the data set, which contains one observation and three variables. The NOOBS option su...
Thursday, March 13, 2008
Work with SAS dates and times
›
SAS Date Value - Jan. 1, 1960 SAS stores date value as numeric values while SAS date is stored as numbers. SAS stores dates and times as sin...
Subset data
›
/*************************************/ /* select observations and variables */ /*************************************/ data subset1; ...
Create and redefine variables
›
/*************************************/ /* create and redefine variables */ /* with assignment, function */ /**********...
Submit SAS programs to remote hosts (SAS/CONNECT)
›
options comamid=netbios remote=netpc; The OPTIONS statement specifies the COMAMID= and the REMOTE= system options. These two system options ...
Read PC database files
›
To read PC database files, you use the IMPORT procedure. PROC IMPORT reads the input file and writes the data to a SAS data set, with the SA...
Read SAS data sets
›
data canada; set mylib.productsales; if country='CANADA'; run; In this DATA step, each observation in the data set Mylib.Produ...
‹
›
Home
View web version