vitapole:
replace script FullDisk
{
resync catalog;
execute script alloc_disk;
execute script FullDisk;
execute script rel_disk;
resync catalog;
}

Brahmaiah:
1.I don't understand why you are trying to replace same script, the one you are using inside: FullDisk

2. catalog archivelog all;
The synatax is wrong here. Instead of all, you have to give specific file name. But what is the need for this in the first place. If the archive log files are there in the destination as per the init$SID file, they are automatically taken care by rman. Only if you have copied archived files manually to a non standard destination, then you have to use this.

Good luck !!