i have a null dataset with 20 variables. i want to upload the
variables which contain name like a or k or anything in
another dataset.how can we create the dataset?
Answers were Sorted based on User's Feedback
Answer / sasuser
Ans: I didn't understood the question clearly. What I
understood is , the person wants to copy selected variables
from a dataset(which has no observations) to a different
dataset.The following is the solution:
proc sql;
create table want
like emptydataset (keep=n: a:)
;
quit;
Note:emptydataset does not contain any obs.
Let me know, If my solution is wrong.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / alok karan
data _null_ new;
set qqq;
where name like "q%" or name like "w%";
put name total;
run;
proc print data=new;
run;
| Is This Answer Correct ? | 0 Yes | 2 No |
At compile time when a SAS data set is read, what items are created?
What does proc print, and proc contents are used for?
Are you involved in writing the inferential analysis plan? Tables specfications?
name some data transformation used in sas di? : Sas-di
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
What is the difference between SAS Data step and SAS PROC SQL, and which is better?
How do you debug and test your SAS programs?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
How many data types are there in SAS?
Mention what is PROC in SAS?
If a variable contains letters or special characters, can it be numeric data type?