
Selecting Variables
General form, DROP= and KEEP= data set options: (DROP=variable-1 < . . .variable-n>) (KEEP=variable-1 < . . . variable-n>)
Summary of Formatting Variable Values - sas.com
Temporarily Formatting Values The FORMAT statement, when used in a SAS procedure, associates a particular format with one or more variables.
Formatting Variable Values
General form, FORMAT statement: FORMAT variable(s) format-name;. where variable(s) is the name of one or more variables whose values are to be written according to a particular pattern
Selecting Variables (1)
General form, DROP= and KEEP= data set options: (DROP=variable-1 < . . .variable-n>) (KEEP=variable-1 < . . .
Converting Data with Functions (2)
4 data hrd.newtemp; 5 set hrd.temp; 6 Salary=payrate*hours; 7 run; NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column).
Creating Macro Variables During DATA Step Execution (3)
Improving Program Efficiency with Macro Variables: Creating Macro Variables During DATA Step Execution
Manipulating SAS Date Values with Functions (2)
The value returned by the MONTH function is a numeric value that ranges from 1 to 12. It represents the month of the year.
LIBNAME Options
Option Name: Possible Values: Description: ACCESS= READONLY : determines the access level with which a libref connection is opened.
Using Automatic Macro Variables (1) - sas.com
This section teaches you how to use automatic macro variables in your programs. After completing this section, you will be able to
Using Automatic Macro Variables (3) - sas.com
Using other automatic macro variables is just as easy as using the SYSDATE macro variable. For example, if you need the day of the week and the full date when a SAS session began, you …