Oracle Message RMAN-06700 - error parsing text script in file string

ERRORerror parsing text script in file string
CAUSEIncorrect syntax or invalid commands were found.
ACTIONFix text script and retry the command.