There are still JA37 flying in the SWAF at the F4 wing.
The reece variants are still in use as well, and is that last variant to be replaced by the Gripen.
The Viggen is a bit of a sad story really, because (as usual) the Swedish goverment commit to a contract for A LOT of fighters they don't need. (Look at Gripen, 204 firms orders, requirement today LESS THEN 100!!!!!)
Point is, when I worked at Ängelholm/ESDB in 2002 the scrapping of Viggens took place there (since moved to Halmstad/ESMT), and some of the Viggens going under the scrap mans axe had less then 800 hrs on the clock!
Nato F-16 of similar age have more then 3000 hrs on theirs!