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

What is Linear Regression?

1223


What is the basic structure of a sas program?

1172


Explain substr function?

1164


why is sas considered self-documenting? : Sas programming

1189


Differentiate between ceil and floor functions.

1202


How does proc sql work?

1147


Explain append procedure?

1134


What are the data types that sas contain?

1250


what are informats in sas? : Sas-administrator

1151


Mention what are the data types does SAS contain?

1194


What is program data vector (pdv) and what are its functions?

1318


What are the special input delimiters used in SAS?

1239


What is the basic syntax style in SAS?

1229


what is sas metadata server? : Sas-di

1157


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

1074