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 the use of sas management console? : Sas-di
Explain the main difference between the sas procedures and functions? : Sas-administrator
what is sas metadata server? : Sas-di
Explain what is the use of proc gplot?
do you prefer proc report or proc tabulate? Why? : Sas programming
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what do you mean by data staging area? : Sas-di
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
What is the use of PROC gplot?
Intern stastical programmer written test
Difference between SAS STATA & SPSS?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
What is PDV?
What versions of SAS have you used (on which platforms)?
Differentiate input and infile.