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...

In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)

Answer Posted / sankar

data ss;
input name$ s anydtdte9.;
cards;
sankar mar99
mahesh mar1999
run;
proc print data=ss;
format s date9.;
run;

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Linear Regression?

1174


What are the ways in which macro variables can be created in sas programming?

1119


What is the use of %include statement?

1069


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1207


Describe the ways in which you can create macro variables? : sas-macro

1070


What is the difference between INPUT and INFILE ?

1331


What can you learn from the SAS log when debugging?

1394


Differentiate input and infile.

1112


What are the limitations for memory allocation for SAS variables

1502


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1378


how sas deals with business intelligence? : Sas-bi

1058


What is the difference between nodupkey and nodup options?

1049


what is the Population you used in your project, is it ITT or PP?

2750


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

1071


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

1171