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...


how can u convert this 25-jul-2010 from numeric to charcter?

Answers were Sorted based on User's Feedback



how can u convert this 25-jul-2010 from numeric to charcter?..

Answer / vigneshwaran.s

Read the date using informat date11. Then you can move this
Numeric SAS date to a Character variable. You can see in
the SAS Log that Numeric has been converted to Chanracter.

Option 2 : Is use a Put Function,

New_date = Put(Given_date,Format)

Is This Answer Correct ?    10 Yes 2 No

how can u convert this 25-jul-2010 from numeric to charcter?..

Answer / ram

data new;
date=put( '25-jul-2010'd,date9.);
run;

Is This Answer Correct ?    5 Yes 0 No

how can u convert this 25-jul-2010 from numeric to charcter?..

Answer / madhu

put(Variablename,date11.)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SAS Interview Questions

How sas treats the dsd delimiters?

0 Answers  


what is validvarname and varnum? why we are using this options; explain with a syntax for this options?

1 Answers   Max India,


How could you generate test data with no input data?

6 Answers   Quintiles,


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

0 Answers   CTS,


Suppose there is a SAS dataset with following values - Parent Child A B B C D E F G G H H I and so on….. This goes onto 1000s of observations/rows. Now how do we identify from this dataset Grandparents and Grandchildrens ?

5 Answers   American Express, Barclays,


At compile time when a SAS data set is read, what items are created?

5 Answers  


Can you execute macro within another macro? : sas-macro

0 Answers  


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

0 Answers  


Do you need to combine data sets? How should you combine data sets– MERGE or SET statements in DATA steps,PROC APPEND,PROC SQL?

3 Answers  


which stats created by proc means that are not created by proc summary or vice versa?

2 Answers   GSK,


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

0 Answers  


Describe a time when you were really stuck on a problem and how you solved it?

0 Answers   Oracle,


Categories