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 |
What statement do you code to write the record to the file?
Hot to suppress characters from a given string?
Explain the message 'Merge has one or more datasets with repeats of by variables'.
What are the differences between sum function and using “+” operator?
How many data types are there in SAS?
Mention few ways with which a “table lookup’ is done in sas programming.
What are the automatic variables for macro? : sas-macro
what is slowly changing dimension? : Sas-di
What is by-group processing?
Does anybody have SAS Training manual or documentation or can you refer me any book to have better understanding on SAS. I am fresher to SAS tool. (Ready to pay)
How do dates work in SAS data?
Dear all, proc means data=dsn noprint completetypes; class trtmntgroup /preloadfmt; output out=tot n=n; format trtmntgroup trtf. ; by vstgrp descending severity; run; This is the code I used for AE table. I got the values without giving the variable ‘trtmntgroup(numeric)’ in var statement. And if I give the var statement for that variable i’m getting the same values.How is that possible? What is the difference between class and var statement? Could any one explain me how does proc means work at the back end. And what is the difference between _freq_ value and N value in proc means. Thanks and regards, Rajesh.