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 to include or exclude specific variables in a data set?

1086


what has been your most common programming mistake? : Sas programming

1059


In ARRAY processing, what does the DIM function do?

1132


What are the table names in oracle database...?

2717


how do you debug and test your sas programs? : Sas programming

1091


How would you determine the number of missing or nonmissing values in computations?

1032


Name and describe few sas character functions that are used for data cleaning in brief.

1083


What would you change about your job?

2341


what are 5 ways to perform a table lookup in sas? : Sas-administrator

1194


how many types prompting framework can be broken down to? : Sas-bi

1049


Enlist the syntax rules followed in sas statements.

1051


what are the component of range? : Sas-bi

1045


How can you limit the variables written to output dataset in data step?

1272


Explain proc univariate?

993


How do dates work in SAS data?

1142