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


Please Help Members By Posting Answers For Below Questions

what has been your most common programming mistake? : Sas programming

547


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

787


What is the difference between SAS functions and procedures?

647


What is the purpose of _character_ and _numeric_?

572


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

535






What do you know about sas and what we do? : sas-grid-administration

585


what are the component of range? : Sas-bi

608


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3099


What are the new features included in the new version of SAS Programming Language?

722


what is the use of sas management console? : Sas-di

601


I have a dataset concat having variable a b & c. How to rename a b to e & f?

563


If money were no object, what would you like to do?

2676


what is sas metadata repository? : Sas-bi

586


How do you test for missing values?

1051


What is PROC in SAS?

593