In which format does Date stores in sas..?
What is the use of DATE in SAS.?
Answers were Sorted based on User's Feedback
Answer / satyanand
SAS represents a date internally as the number of days
between January 1, 1960 and the specified date. Dates
before 1960 are represented with negative numbers. A
SAS date value is a numeric variable
Is This Answer Correct ? | 22 Yes | 1 No |
In SAS the date has been stored as machine level language,
and the reference date for SAS is Jan 1, 1960.
To find out the exp of employees we have to use DOJ, then we
will use date.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mannna
it is stored as numeric values.
Eg
data aaa;
a=today();
put a;
run;
it will show you numeric no equivalent to current date.After using format staement u can get todays date as;
data aaa;
a=today();
format a date9.;
put a;
run;
Is This Answer Correct ? | 0 Yes | 0 No |
what is intially documentation for a sas programmer?
How did you use the round function?give an example(don't say it will round to the nearest intger) eg1:round(84.55,.1) =84.6 eg2:round(92.64,.1)=92.6,How it is happening like this tell me the logic,that is how the round function works when we have deimal values?
What is the use of %include statement?
What does the trace option do?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
What is the difference between input and infile statement?
How to get any kind of data in SAS? Is it possible to take data from notepad in SAS?
How do you define proc in sas? : sas-grid-administration
Name statements that function at both compile and execution time.
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
what are the best practices to process the large data sets in sas programming? : Sas-administrator
how do you debug and test your sas programs? : Sas programming