I have upgraded my rdbms from 10.2.0.4 to 22.214.171.124 successfully. I have also upgraded the recovery catalog to version 11.01.00 which I had in a 10.2.0.5 database.
I can manually connect into RMAN using "rman target system/.....@OFIND nocatalog" and even do "backup tablespace tools;" successfully. I can also manually connect to the Catalog & target databases and backup successfully.
But when I use the same syntax in scripts, they fail with:
Recovery Manager incompatible with TARGET database: RMAN 126.96.36.199 to 10.2.0.4 required
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00554: initialization of internal recovery manager package failed
RMAN-06429: TARGET database is not compatible with this version of RMAN
How I can I fix this issue so that the my rman commands and can run in scripts?