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


Please Help Members By Posting Answers For Below Questions

How do you define proc in sas? : sas-grid-administration

665


what is change analysis in sas di ? : Sas-di

600


Explain how you can debug and test your SAS program?

561


What is the role of administrative users? : sas-grid-administration

650


What does the trace option do?

660






what are informats in sas? : Sas-administrator

579


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

545


Describe the function and utility of the most difficult SAS macro that you have written?

2015


Describe the ways in which you can create a macro variable?

615


What is connection profile? : sas-grid-administration

642


Which function is used to count the number of intervals between two sas dates?

564


what is business intelligence? : Sas-bi

573


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

1837


What is the sas data set? : sas-grid-administration

562


What is data _null_?

688