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 has been your most common programming mistake? : Sas programming
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
What is the difference between SAS functions and procedures?
What is the purpose of _character_ and _numeric_?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What do you know about sas and what we do? : sas-grid-administration
what are the component of range? : Sas-bi
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
What are the new features included in the new version of SAS Programming Language?
what is the use of sas management console? : Sas-di
I have a dataset concat having variable a b & c. How to rename a b to e & f?
If money were no object, what would you like to do?
what is sas metadata repository? : Sas-bi
How do you test for missing values?
What is PROC in SAS?