Text description of releaseForMaint
To release a sequential I/O device specified in an
ALLOCATE CHANNEL FOR MAINTENANCE command. Note that maintenance channels are unaffected by
ALLOCATE CHANNEL and
RELEASE CHANNEL command issued within a
- Execute this command only at the RMAN prompt, not within a RUN block.
- You must have a maintenance channel allocated in order to release it.
Releasing a Maintenance Channel After a Delete Operation: Example
This example allocates and then releases a maintenance channel to the media manager:
ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE sbt;
DELETE NOPROMPT BACKUPPIECE 100;
ALLOCATE CHANNEL ch1 DEVICE TYPE DISK;
BACKUP DATAFILE 1;
RELEASE CHANNEL ch1; # releases RUN channel but not maintenance channel
RELEASE CHANNEL; # releases maintenance channel