I know it hurts to hear, but your technical skills have probably long since expired.
I'd you haven't been keeping up with trainings, current ways of doing things, and modern technology, you're probably behind the curve and less desirable as an employee.
I say this as someone who is over 40 myself. You're not doing yourself any favors by whining about she discrimination is your but also a competitive candidate.
Stop pretending like the stuff we learned 20 years ago is still valid today. If you like to point to lotus notes, ms access, and word as proof that you're technically savvy, you're outing yourself as an out-of-touch dinosaur.
Complain all you want about how 3M engaged in age discrimination a decade ago, but if you want to keep your job don't paint a target on your back