There are still COBOL contractors, but I wouldn't recommend to anyone to go out and learn COBOL.
If you are not within a few years of retirement, you will have to go elsewhere. If you are in your forties or fifties and you think you are comfortable at Oracle and you will just stay there until you retire, you seriously need to rethink your career plan.
Not to mention, that rather than laying off the younger people for lack of experience, Oracle is laying off its older workers in favor of cheaper labor.
Then, think again about how long the DB cash cow will last. Oracle sales and marketing has been using some drastic measures, auditing customers, etc. There will not be a long slow decline in the use of an overpriced DB from a corrupt and dishonest company like Oracle. Companies are putting money into getting rid of the Oracle DB. Contractors are specializing in how to get rid of Oracle from IT shops.
To work at a company where the customers are actively putting money into getting rid of your products, is not a secure way to plan your career. Oracle's demise will be faster than the usual long slow decline of older tech like COBOL.
NetSuite ads hide the Oracle label in small text. Knowing the NetSuite is a Oracle product is a not a plus for Oracle sales.
There have been long slow declines of technology in the past, but this is NOT that case. Oracle customers want to get off of Oracle products and are putting money and effort into doing just that.
Oracle is not a safe place to build a career at this point. Oracle is not just irrelevant, it's a dangerous vendor with corrupt sales policies.
Get your resume together and move on with your life.