How the date 04oct1994 is stored in SAS,not only give the
answer explain in brief?
Answers were Sorted based on User's Feedback
Answer / vineeta
The date will be stored as the number of days since January
1,1960. Internally SAS stores dates as no. of days hence it
becomes a numeric value on which computations can be done.
Use a date informat to read the date eg. DATE9. and u will
get the number of days in the output dataset.
| Is This Answer Correct ? | 23 Yes | 0 No |
Answer / sree
In sas the date will be stored as the number of days since
January
1,1960. SAS stores dates as number of days hence it
becomes a numeric value .
Use a date informat to read the date eg. DATE9. ,MMDDYY10.
etc..and u will
get the number of days in the output dataset in a format
you specify or date9.only
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pnprasad
There are four informats are there in SAS to read the date
values, i.e MMDDYY8. (mm/dd/yy), MMDDYY10. (mm/dd/yyyy)
date7. (ddMMMyy) date9. (ddMMMyyyy), so Ans is date9. Note:
each format ends with period.
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / sas
guys please read the question carefully and then proceed
with writing answers.....invalid answers mislead to sas new
comers....
| Is This Answer Correct ? | 1 Yes | 0 No |
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
How would you define the end of a macro?
i have multiple .csv files in a unix directory. every file is having variable names as header.even for empty file also. suppose take 3 files a.csv b.csv c.csv a.csv contains data as name;age,salary; raja;34;4000; ravi;33;5000; kumar;25;3000; b.csv contains data as name;age,salary; ajay;40;4500; and c.csv contains name;age,salary; (only headers) Now i want to import and append all these files in to a single dataset. i tried infile statement with *.csv to import all at a time. but i m not getting correct data. please help me . its urgent. thank you in advance
what are the differences between proc report and proc tabulate?
What is maximum number of rows and cols can be handled in SAS?
how does sas handle missing values in assignment statements? : Sas programming
How substr function works in sas?
Does anybody has SAS Platform Administration certification dumps. pls send to hariithepalli@gmail.com
What is the difference between Regression and Logistic Regression? Can u explain the Assumptions/Conditions?
What are all the problems you faced while validating tables and reports?
0 Answers Accenture, Quintiles,
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
Difference between nodup and nodupkey options?