how can u convert this 25-jul-2010 from numeric to charcter?
Answer Posted / 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 |
Post New Answer View All Answers
Mention few capabilities of sas framework.
This entry was posted in General. Bookmark the permalink. Post a comment or leave
How do you convert basic cube to transaction cube and transaction cube to basic cube?
What is SAS informats?
Explain what is SAS informats?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
what is sas and what are the functions? : Sas-administrator
What commands are used in the case of including or excluding any specific variables in the data set?
what is the difference between unique key and primary key? : Sas-di
How we can create SAS USER DEFINED CODE?
What do the put and input function do?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
What are the prime responsibilities of data integration administrator? : Sas-di
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
what do the mod and int function do? What do the pad and dim functions do? : Sas programming