In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)

Answer Posted / shaik

data m;
input n date monyy7.;
format date monyy7.;
cards;
12 mar99
45 mar1999
45 sep98
run;

we will get output;

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how are numeric and character missing values represented internally? : Sas programming

610


Explain append procedure?

626


name some data transformation used in sas di? : Sas-di

536


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

537


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

564






What is program data vector (pdv)?

625


Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??

2084


what are all the reports you generated in your recent project?

1672


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

663


What is the maximum and minimum length of macro variable

648


What are the implications?

1176


What does PROC print, and PROC contents do?

711


Explain substr function?

569


how will you locate the sas platform applications? : Sas-bi

572


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

1836