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

To read the data with mar99 and mar1999, we use eurdfmyw.
informat.
This informat is used to read the data with only month and
year.
eg:
data m;
input n date eurdfmy7.;
format date eurdfmy7.;
cards;
12 mar99
45 mar1999
45 sep98
run;
proc print data=m;
run;

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how will you locate the sas platform applications? : Sas-bi

1081


How do you delete duplicate observations in sas?

1110


What is the role of sas grid administrator? : sas-grid-administration

1341


Explain bmdp procedure?

1078


If money were no object, what would you like to do?

3235


Differentiate between sas functions and sas procedures.

1310


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

4591


why is a stop statement needed for the point=option on a set statement? : Sas programming

1127


Give e an example of..

2134


Mention what is SAS data set?

1177


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

1373


how would you determine the number of missing or nonmissing values in computations? : Sas programming

1199


What are the data types does SAS contain?

1164


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

1197


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

1111