Ageism i one thing, but it’s quite another to be 6 years away from retirement and have no experience in your chosen industry (IT).
I would suggest focusing on Project Management. Get a PMP certification if you don’t already have it. Maybe an Agile certification as well. If you just want to build your knowledge base, go to a site like Udemy or even YouTube and take some course so you are familiar with modern IT concepts.
In addition to object oriented programming, there are a lot of other concepts in IT like databases (relational and noSQL), big data, Machine Learning / AI, predictive analytics, business intelligence (Tableau, Looker, etc), ERP systems (SAP, Netsuite), cloud (AWS, Azure, Google), cybersecurity, and probably a bunch of shit I don’t even know about.
Most corporate IT services are outsourced to companies like Cognizant or Wipro and most of their technical staff are based out of India. Or they are managed “in the cloud” by service providers like Salesforce or Microsoft.
Sam_Stone is talking nonsense about companies wanting your social media passwords. No reputable company does that. But they do look at you on LinkedIn. And 25 connections is nothing. Industry standard is you should have “more than 500”. Which is not unreasonable for someone in a “people-facing” role like project manager.
He is correct about the changes. When I started my career in the mid 90s, I was able to quickly become a “full stack” developer by learning PowerBuilder, VB, C+, Oracle/PL-SQL, SQL Server and later some java and HTML. Personally I don’t want to program so I went the business / PM route. My last job working at an enterprise cloud / AI software company, honestly I barely knew how any of that shit worked - Hive, HBase, Nifi, Spark, Scala, Pig, Flink, Impala, Sloop. Bunch of Apache Hadoop gibberish. My job was mostly just making sure the clients were happy with the work the engineers and architects were doing and finding opportunities for the salespeople to misrepresent it!
The point is I don’t think there are a lot of opportunities at most companies for an “IT guy” who knows a smattering of technologies in this day and age. 30 years ago, sure. A company might hire you to build some little apps in Access, VB, Lotus Notes. There might even be some companies where that “garbage IT” hasn’t been phased out yet. But it’s not the future.