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

name several ways to achieve efficiency in your program? : Sas programming

0 Answers  


how do we get duplicate observations in a separate dataset?

6 Answers   CitiGroup,


1.How to draw pivot tables in Excel by using SAS and in which version we can use VB script for to draw pivot tables in Excel? Answer with example data. 2.What are the advantages of _NULL_ in Data steps? Can we use _NULL_ in Proc steps also? 3. How to call the macro variable into Data Steps? 4. Can we draw pivot tables in Excel using Proc SQL? Please post answers for the above questions with suitable examples, and how to use VB script for Excel using SAS.

1 Answers  


We want to merge file A and B. File A has variable age, file B provide birthdate. How to merge the data according to age in file B

3 Answers  


how could you generate test data with no input data? : Sas programming

0 Answers  






Briefly describe 5 ways to do a "table lookup" in sas.

4 Answers   Quintiles,


Explain input and put function?

0 Answers  


Can you calculate the mean, median and mode of the following data set using data step logic? Don't use any function or procedure. data a; input age @@; datalines; 22 32 32 32 43 23 24 56 45 54 28 29 27 26 25 28 30 20 18 37 36 47 46 56 19 20 ; run; I have calculated the mean which i have posted in the answer section.

6 Answers   HSBC,


What is the general format of function in sas? : sas-grid-administration

0 Answers  


how do the in= variables improve the capability of a merge? : Sas programming

0 Answers  


Are you involved in writing the inferential analysis plan? Tables specfications?

0 Answers  


What is the purpose of trailing @ and @@? How do you use them?

0 Answers  


Categories