Can we replace a dataset into view?

Answers were Sorted based on User's Feedback



Can we replace a dataset into view?..

Answer / jyotshna

yes we can replace dataset into view

syntax:
data librefname.datasetname/view=librefnmae.datasetname;
run;
sample:
data aa/view=aa;
set sashel.class;
run;

Is This Answer Correct ?    3 Yes 2 No

Can we replace a dataset into view?..

Answer / vivek

proc sql;
create view <viewname> as
select *
from <Datasetname>;
quit;

Is This Answer Correct ?    1 Yes 0 No

Can we replace a dataset into view?..

Answer / gk

yes we can replace a data set with view by a procedure
called datasets

Is This Answer Correct ?    2 Yes 2 No

Can we replace a dataset into view?..

Answer / arun & g.n.rao

IT CAN BE DONE USING PROC SQL.

Is This Answer Correct ?    1 Yes 1 No

Can we replace a dataset into view?..

Answer / sriraghubabu

yes, we can replace dataset into view in Proc sql.
example:

proc sql;
create view newemp as
select *
from Employee
group by name;
select * from newemp;
quit;

now the data set is replaced into view..

Is This Answer Correct ?    0 Yes 2 No

Can we replace a dataset into view?..

Answer / guest

yes we can
ex: data aa/view=bb;
input variables;
datalines;
run;

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SAS Interview Questions

What is the difference between %put and symbolgen? : sas-macro

0 Answers  


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

0 Answers  


For clinical entire study how many tables will create approx?

0 Answers   TCS,


How many tiers in sas architecture?

2 Answers  


what is the difference between proc report and proc format?

7 Answers   CTS,


I need to find the numeric field which contains blank in between..Ex:123 456...there is blank in between the 123 456..I need to know if there is any SAS function to find a field.. Please suggest...

5 Answers   TCS,


How do dates work in SAS data?

0 Answers  


Why and when do you use proc sql?

0 Answers  


What is the difference between using drop = data set option in data statement and set statement?

0 Answers  


"What is the difference between proc sort nodup and proc sort nodupkey?"

2 Answers  


How do you download a flat file from Mainframe to your local PC using SAS?

3 Answers  


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

0 Answers  


Categories