When generating an RMAN back script, the 'Define Variables' are set correctly but the script produced will not run due to the following error. If the encrypted PWD is replaced with the correct PWD, the login occurs normally. How do I get the correct encrypted PWD for my script?
RMAN> CONNECT TARGET SYS/@MAIN1.PRDNBSORA01