Hi:
A bit more information is needed. For example...
With the Universe dataset -- how is the quarter information represented
--with a separate year variable and a separate quarter variable
--with a single date variable
--is the date information in numeric or character form
With the Sample dataset -- how is the DEAL Date represented
--with a separate year variable, month variable and day variable
--with a single date variable
--is the date information in numeric or character form
What is the common variable or variables for joining, combining or merging the 2 datasets together???
When you say you are looking for the last 4 observations before the M&A date, it sounds like every quarter is a separate observation in the Universe file. Is this true?
Can you show the program or SQL query that you have tried?
Can you show a sample of the data from the two datasets or make up some dummy data that shows the structure of the 2 files?
For posting data or maintaining the indention of code, this previous forum posting is very helpful:
http://support.sas.com/forums/thread.jspa?messageID=27609毙
cynthia