https://alexlima.com/2008/11/30/how-to-check-syntax-of-rman-commandsscript/
How to check syntax of rman commands/script?