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 maximum storage capability of SAS?

1429


what is hash files in sas and why we are using this one in sas?

2218


what are _numeric_ and _character_ and what do they do? : Sas programming

1159


Describe the ways in which you can create macro variables?

1198


how are numeric and character missing values represented internally? : Sas programming

1153


what do the pad and dim functions do? : Sas programming

1033


How do you test for missing values?

1643


how many types of prompts are there? : Sas-bi

1082


Difference between SAS STATA & SPSS?

1128


Explain proc univariate?

1039


Give an example where SAS fails to convert character value to numeric value automatically?

1094


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

1291


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

1202


Explain what is SAS informats?

1099


do you prefer proc report or proc tabulate? Why? : Sas programming

991