You wont stand a chance by 45. Kids are younger and it is damn simple to understand they will take your job. I will retire by 50 or younger, especially with this kenyan klown of a president who is absolutely clueless.
So one has to decide on a course of action early: either get that MBA from a top school by age 30 and try to compete your way into an upper management slot, or use your employee years as an apprenticeship and learn what you need to know to start your own business by age 40. The days of sitting in the corner cubicle as an Accounting Supervisor or Senior Software Engineer until age 65 are long gone. There was no formal notice given - but the world has changed.