Hi guys, I just picked up SAS, and have trouble doing the following. There are around 100k of observations, hence its impossible for me to do it manually. As you can see, there are duplicates for one company (identified by the ISIN) due to the different statements that were produced by bankscope. There are 6 types of possible statements for a company in a certain year. And the priority should be C1/C2, C*, U1/U2,U* whenever possible as shown in table 2. In another words, the priority should be followed and duplicates to be deleted. Thanks in advance guys. Table 1 year ISIN Consolidation code total assets 2005 AU123 C* 20 2005 AU123 C2 18 2006 UK345 C1 25 2006 UK345 C* 40 2006 UK345 U1 28 Table 2 year ISIN Consolidation code total assets 2005 AU123 C2 18 2006 UK345 C1 25
... View more