Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



i have a null dataset with 20 variables. i want to upload the variables which contain name like a ..

Answer / xxx

proc print data=DSN;
var a: k:;
run;

Is This Answer Correct ?    6 Yes 1 No

i have a null dataset with 20 variables. i want to upload the variables which contain name like a ..

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

i have a null dataset with 20 variables. i want to upload the variables which contain name like a ..

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

Post New Answer

More SAS Interview Questions

Can anyone help me about SAS Realtime scenarios in Clinical field

0 Answers  


what is the difference between the SAS v8 and SAS v9?

7 Answers   TCS,


what is sas application server? : Sas-di

0 Answers  


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

0 Answers  


if you have 365 no of data set and each one having different variable from each other. how will you read by creating macros and create a single data set.

2 Answers  


How do you add a number to a macro variable?

3 Answers  


Explain what is SAS informats?

0 Answers  


Which date function advances a date, time or datetime value by a given interval?

0 Answers  


1.we can execute a macro with in a macro,by using call symput and symget can any one give me one example? 2.We can create the macro variables by using %let,%do,macro parameters,INTO clause in proc sql and call symput, can any one give me example to create macro variable with INTO clause and call symput? 3.

1 Answers  


if we dont want to print output what we have to do..???give syntax..???

8 Answers   Accenture, GSK GlaxoSmithKline,


if x=round(26.3,10)-1 then x= how much and how explain?

5 Answers   BoA,


how do we mail reports from SAS environment to our team leader

5 Answers   Wockhardt,


Categories