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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many types of prompts are there? : Sas-bi

1081


explain what is factor analysis? : Sas-administrator

1116


What is PDV?

1161


What do the mod and int function do? : Sas programming

1234


what is data integration? : Sas-di

1120


Are you sensitive to code walk-throughs peer review or QC review?

3145


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

2253


What is the basic syntax of a sas program?

1214


for whom is sas data integration studio designed? : Sas-di

1004


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4519


Describe a time when you were really stuck on a problem and how you solved it?

2553


What can be the size of largest dataset in SAS?

1234


Why double trailing @@ is used in input statement?

1227


What are the five ways to do a table lookup in sas? : sas-grid-administration

1064


explain the difference between proc means and proc summary?

1130