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

Explain why double trailing @@ is used in input statement?

1010


What are the different servers in sas? : sas-grid-administration

1008


what versions of sas have you used (on which platforms)? : Sas programming

1005


What are common programming errors committed in sas

1100


Differences between where and if statement?

1027


What are the scrubbing procedures in sas?

949


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2319


explain the use of % includes a statement in sas? : Sas-administrator

946


How is character variable converted into numeric variable and vice versa?

1110


What will calendar procedure do?

1021


Define run-group processing?

981


what are the scrubbing procedures in sas? : Sas programming

1228


what is the difference between floor and ceil functions in sas? : Sas-administrator

1190


What are the features of base sas system?

1018


In ARRAY processing, what does the DIM function do?

1116