I don't think this error message is caused by your SWITCH LOGFILE command. I belive somewhere in your script you must have command ARCHIVE LOG NEXT/ALL or ALTER SYSTEM ARCHIVE LOG NEXT/ALL or something similar. You probably have automatic archiving turned on so probably by the time your comand is executed the archiver have already finished archiving the last unarchived redo file. In any case this message is more of the informative type, it is not realy an error.
Jurij Modic
ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?