There is a field containing a date. It needs to be
displayed in the format “ddmonyy” if it’s before
1975,”dd
mon ccyy” if it’s after 1985, and as ‘disco years’ if
its
between 1975 and 1985. How would you accomplish this in
data step code? Using only PROC FORMAT.
Answer Posted / guest
Using the Picture statement Proc Format.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what is data governance? : Sas-di
Explain data_null_?
Mention what is SAS data set?
What do the mod and int function do? : Sas programming
how to read the variables in sas? : Sas-administrator
What is interleaving in SAS?
explain about sas business intelligence? : Sas-bi
What do you know about sas data set?
What are the differences between sum function and using “+” operator?
what is data access? : Sas-di
What are the new features included in the new version of SAS Programming Language?
How to create list output for cross-tabulations in proc freq?
Did you used proc test? when?
what are several options for creating reports in web report studio? : Sas-bi
what do the pad and dim functions do? : Sas programming