A Data step can be used to:
1)Put your data into SAs dataset
2)Create and format values for new variables
3)Creating new dataset in terms of sub setting,merging and
updating existing dataset.
A Proc step can be used to:
1)To print a report
2)Derive descriptive statistics,charts and plots
3)To create tabular report,create frequency chart etc.
Data step : typically create or modify SAS data set and
they can also used to produce costom-designed reports
Data step used to 1.Put data into SAS data set, cumpute
variable, check for correct error in data, Produce new SAS
data sets by subsetting, merging, and updating existing
PROC step : They pre-written routines that enable us to
analyze and process the data in a SAS data set and to
present the data in the form of a report
PROC steps sometimes create new SAS data sets that contain
the results of the procedure
PROC steps can list, sort, and summarize data
PROC steps are used to:Create a report that lists the data,
Produce descriptive statistics,Create a summary
report,Produce plots and charts
Hi, I have one dataset, could you please ans for this.
id amount paid_amount
1 700 400
2 900 250
3 300 300
a 400 250
b 500 320
c 800 650
x 200 190
y 900 250
z 300 180
i want create new dataset having id and paid_amount who are
paid high amount comparing amount.
ex: 1d paid_amount
1.How many ways are there to create variables?
2.What is CLM,how can we use it?
3.what are the advontages of data step?
4.what is the extension of editor window in SAS 9.1.3?
5.How do you copy a particular data set from one library to
6.what is the use of double option?
7.Advontages of Proc Report?
8.what is the basic use of where statement?
9.How do you terminate the statments in SAS Programming?
10.What is the difference between symput and symget?
11.How would a identify the local and global variable?
can any one answer for the 4'th question
The below code we are using for creating more than one
macro variables in proc sql using into clause. How we
can use same code to create macro variables vara, varb,
varc instead of var1, var2, var3.?
proc sql noprint;
select count(distinct(patient)) into :var1 - :var3
group by trtreg1c