Can somebody tell me what is wrong with this rman command. When it run
it's having a problem with the delete.

rman < connect target /
connect catalog rman/rman
sql "alter system archive log current";
backup filesperset 5 archivelog NOT BACKED UP SINCE TIME 'SYSDATE-1/24'
format $FILE_DEST_ARCH
delete input ;
resync catalog;
EOT