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
how does sas handle missing values in a merge? : Sas programming
What do the PUT and INPUT functions do?
What are common programming errors committed in sas
What is the different between functions and PROCs that calculate the same simple descriptive statistics?
What is the function of Stop statement in a SAS Program?
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
What is the difference between reading data from an external file and reading data from an existing data set?
What is proc sort?
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
What is the basic syntax of a sas program?
What are the implications?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
How do you add a number to a macro variable? : sas-macro
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
How you can read the variables that you need?