Hi i am a begginer on SAS and i need some help: My first problem is converting the date, i have the following format : 20020331 so YYYYMMDD and i would like to have the year and the quarter so this format 2002Q1 (YYYYQQ ). My second problem is about merging two databases based on mutual information included on both of them: my first database is a large database containing the date, the ID number and other variables for example: Global Company Key Fiscal Data Year and Quarter Current Assets - Total Assets - Total Cash and Short-Term Investments Long-Term Debt - Total Current Liabilities - Total Liabilities - Total Net Income (Loss) 1034 2002Q1 639,409 2367,051 9,689 880,936 368,339 1373,972 -31,94 1034 2002Q2 695,609 2448,679 12,884 899,789 381,368 1384,204 10,159 1034 2002Q3 700,596 2416,691 41,2 907,505 345,285 1357,847 -5,946 And my second database contains the date and the ID number for example: RankDate RankdateQ targetGkey 20091102 2009Q4 1034 I would like to extract the variables included in the first database based on specific date included in the second one. It would be really helpfull if someone can help, i am struggling with this for quiet a while. Thank you in advance.
... View more