Message Oracle RMAN-00565 - unable to read input file

ERRORunable to read input file
CAUSEAn error occurred while trying to read from STDIN or from the CMDFILE.
ACTIONEnsure that the cmdfile is readable. The cmdfile must be a text file with 1 line per record.