What is the difference between a PROC step and a DATA step?
Answers were Sorted based on User's Feedback
Answer / kumarrd
we can create the sas data set from raw data file in data step
Then in proc step we can do the analysis on sas data set and
also we can get o/p
Is This Answer Correct ? | 66 Yes | 5 No |
Answer / subrahmanyam
Data step to read and modify data , creates a SAS data set
and begin with DATA statement.
Proc step to perform specific analysis , produce results
and begin with PROC statement.
Is This Answer Correct ? | 49 Yes | 2 No |
Answer / simky
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.
Is This Answer Correct ? | 33 Yes | 1 No |
Answer / ram
proc to produce output
data to read the information
Is This Answer Correct ? | 38 Yes | 10 No |
Answer / pankaj kokate
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
data sets
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
Is This Answer Correct ? | 19 Yes | 1 No |
Answer / dg
Generally, Proc Step is used for analyzing the dataset in
SAS without changing the dataset, to produce different outputs.
Data Step is used to change/modify/create new datasets in SAS.
Exception: Proc Sort/Proc Sql; here u can create new dataset
or modify the existing one..
Is This Answer Correct ? | 17 Yes | 3 No |
Answer / aruna bangalore
DATA STEP:
It creates or modifies data.
PROC STEP:
It analyze and process the data.
Is This Answer Correct ? | 10 Yes | 1 No |
Answer / thirumalesh
Data Step is a data reading and formatting tool,
Proc step is a report writing and analysis tool.
Is This Answer Correct ? | 11 Yes | 8 No |
Answer / ravi
data set block:-
1)data set block is to create a 'SAS' file for analysis and Report
2)data set block is used for permanent storage of SAS file
procedure block :-
1)PROC steps can list, sort, and summarize data
2)PROC steps are used to:Create a report that lists the data,
Produce descriptive statistics,Create a summary
report,Produce plots and charts
3)procedure block is used for temporary storage of sas file
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / gautam
For the Bonus Point: Don't forget to mention PROC SQL that
can read,format,manipulate data as well as PRODUCE reports
and data sets.
Is This Answer Correct ? | 9 Yes | 7 No |
How to create list output for cross-tabulations in proc freq?
What are MIs reports? what is the use of MIS reports and How can u generate the MIS reports in SAS? If any body know explain with the eg.
2 Answers ABC, ASD Lab, CitiGroup,
How necessary is it to be creative in your work?
Difference between SAS STATA & SPSS?
What is connection profile? : sas-grid-administration
how do you validate sas program?
What is the difference between Regression and Logistic Regression? Can u explain the Assumptions/Conditions?
Explain the use of proc gplot? : sas-grid-administration
/* This is example of age caluculate wihtout to display perfect days and years in output window */ data age; retain dob "12jun2003"d now "24may2011"d; age1=now-dob; age=(now-dob)/365.25; years=int(age); days1=round((age-years)*365.25); months=month(now)-1; if days1 gt 30 and months in(12,10,8,6,4,2)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month)*30.4375)+1; drop days1 month1 month; end; else if days1 gt 30 and months in (1,3,5,7,9,11)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month) *30.4375); drop days1 month1 month; end; drop age age1; proc print data=age; format dob now date.; run;
What is the maximum length of the macro variable?
Which command is used to save logs in the external file?
How to merge the data using merge statement and proc format? Is the result is same ?