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 / shaik

data m;
input n date monyy7.;
format date monyy7.;
cards;
12 mar99
45 mar1999
45 sep98
run;

we will get output;

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why and when do you use proc sql?

1242


How to limit decimal places for variable using proc means?

1103


what are sas/access and sas/connect? : Sas programming

990


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1787


Explain input and put function?

1135


what is the use of proc contents and proc print in sas? : Sas-administrator

1051


How to sort in descending order?

1249


Give e an example of..

2334


Define run-group processing?

1030


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

1014


What is the difference between %local and %global? : sas-macro

1179


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

1102


what is snowflake schema? : Sas-di

1213


Explain the difference between informat and format with an example.

1161


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1614