In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)
Answer Posted / sankar
data ss;
input name$ s anydtdte9.;
cards;
sankar mar99
mahesh mar1999
run;
proc print data=ss;
format s date9.;
run;
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
What is the difference between the proc sql and data step?
what is star schema? : Sas-di
What are the differences between sum function and using “+” operator?
How do you debug and test your SAS programs?
what is function of retain statment
What is the function of output statement in a SAS Program?
what is business intelligence? : Sas-bi
what is operational data and operational system? : Sas-di
what is treatment emergent events and treatment emregent adverse event
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
Describe the ways in which you can create a macro variable?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
Explain the special input delimiters used in sas programming.