How the date 04oct1994 is stored in SAS,not only give the
answer explain in brief?
Answer Posted / 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 |
Post New Answer View All Answers
What are the functions used for character handling?
what is the primary data source for the wrs? : Sas-bi
Name and describe few sas character functions that are used for data cleaning in brief.
Which are the statements whose placement in the data step is critical?
Hello, I have PROC SQLs results group by 3 fields and I use SUM and COUNT functions in SQL. The problem is when I try to display my result with PROC TABULATE. I am getting very big numbers. I believe I make a mistake some where in Tabulate. Here is my Proc Tabulate. PROC TABULATE DATA=OUT04_05 FORMAT=12.; CLASS YR CENTRE VISA / PRELOADFMT EXCLUSIVE; VAR NEWUSER FRAUD TRANSFER AUTUSER REISSUE; TABLE CENTRE ALL, (YR ALL)*VISA, (NEWUSER*F=COMMA12. AUTUSER*F=COMMA12. FRAUD*F=COMMA12. TRANSFER*F=COMMA12. REISSUE*F=COMMA12.) / MISSTEXT={LABEL='0'} PRINTMISS RTS=20; FORMAT VISA VISAFMT.; KEYLABEL SUM = ' ' ALL = 'TOTAL'; LABEL YR = 'DATE YEAR' NEWUSER = 'TOTAL NEW ACCT' TRANSFER = 'TOTAL TRANSFER' FRAUD = 'TOTAL FRAUD TRANSFER' AUTUSER = 'TOTAL AUTH USERS' REISSUE = 'TOTAL REISSUE'; When I code it like : NEWUSER*N*F=COMMA12. AUTUSER*N*F=COMMA12. I get same amount numbers but to find a NEWUSER I use COUNT(*) and to find AUTUSER I use SUM(xxxx) function so both result shouldn’t be the same my problem is in this point. Could you tell me where the problem in code is. How can I display my result? TX.
What is the good sas programming practices for processing large data sets?
why is sas data integration studio important? : Sas-di
What do the mod and int function do? : Sas programming
what is enterprise guide? What is the use of it? : Sas programming
describe the interaction table in sas di? : Sas-di
explain what is data set in sas? : Sas-administrator
explain the difference between proc means and proc summary?
How do you add a number to a macro variable? : sas-macro
What is the role of unrestrictive users? : sas-grid-administration
How do you delete duplicate observations in sas?