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

What do the SAS log messages "numeric values have been converted to character" mean?

1326


describe about metadata object? : Sas-di

1008


What is your favorite all time computer book? Why?

2454


For clinical entire study how many tables will create approx?

1905


What is maximum number of rows and cols can be handled in SAS?

1472


what is the purpose of _error_? : Sas programming

1080


what is sas metadata server? : Sas-di

1047


Given an unsorted data set, how to read the last observation to a new data set?

1286


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

1235


Can you execute macro within another macro? : sas-macro

936


What are the statements in proc sql?

1042


what is the difference between unique key and primary key? : Sas-di

1058


What do you know about sas data set?

1022


explain about various caches available in data integrator? : Sas-di

993


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

1099