Top "Sas" questions

The SAS language is a 4GL that underpins the SAS system, a suite of products centered around data processing and statistical procedures.

Python sas7bdat module usage

I have to dump data from SAS datasets. I found a Python module called sas7bdat.py that says it …

python sas
Using SAS and mkdir to create a directory structure in windows

I want to create a directory structure in Windows from within SAS. Preferably using a method that will allow me …

windows-xp cmd sas mkdir
Hotkey to run program in SAS?

I know in R I can use control+r to run my program code. I am wondering if there is …

sas
SAS Proc sql row number

How do I get the row number of an observation in proc sql, similar to _N_ for a datastep in …

sql sas proc-sql
Modify a single observation in a SAS data set

Suppose I have the following data set: data people; input name $ age; datalines; Timothy 25 Mark 30 Matt 29 ; run; How can I …

sas datastep
SAS: rearrange field order in data step

In SAS 9, how can I in a simple data step, rearrange the order the field. Data set2; /*Something probably goes …

sas
reading next observation's value in current observation

I've a dataset called 'input' with the following observations ID Salary 10 1000 20 2000 30 3000 40 4000 I need an output dataset with following observations ID …

sas
Proc SQL with space in the column name

How I can use column with space in the name ('library name') in PROC SQL in SAS? proc sql outobs=10; …

sql sas 4gl
How to pad out character fields in SAS?

I am creating a SAS dataset from a database that includes a VARCHAR(5) key field. This field includes some entries …

sas
SAS - How to return a value from a SAS macro?

I would like to return a value from a SAS macro I created but I'm not sure how. The macro …

sas