contents of Memory Script:
{
   backup as copy reuse
   archivelog like  "/data/arch/1_7_984178575.dbf" auxiliary format 
 "/data/arch/1_7_984178575.dbf"   ;
   catalog clone archivelog  "/data/arch/1_7_984178575.dbf";
   switch clone datafile all;
}
executing Memory Script
Starting backup at 16-AUG-18
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=7 RECID=45 STAMP=984353140
output file name=/data/arch/1_7_984178575.dbf RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
Finished backup at 16-AUG-18
cataloged archived log
archived log file name=/data/arch/1_7_984178575.dbf RECID=45 STAMP=984353142
datafile 1 switched to datafile copy
input datafile copy RECID=6 STAMP=984353142 file name=/u01/app/oradata/ora235/system01.dbf
datafile 2 switched to datafile copy
input datafile copy RECID=7 STAMP=984353142 file name=/u01/app/oradata/ora235/sysaux01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=8 STAMP=984353142 file name=/u01/app/oradata/ora235/undotbs01.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=9 STAMP=984353142 file name=/u01/app/oradata/ora235/users01.dbf
datafile 5 switched to datafile copy
input datafile copy RECID=10 STAMP=984353142 file name=/data/oracle/data/lottu01.dbf
contents of Memory Script:
{
   set until scn  1190640;
   recover
   clone database
    delete archivelog
   ;
}
executing Memory Script
executing command: SET until clause
Starting recover at 16-AUG-18
using channel ORA_AUX_DISK_1
starting media recovery
archived log for thread 1 with sequence 7 is already on disk as file /data/arch/1_7_984178575.dbf
archived log file name=/data/arch/1_7_984178575.dbf thread=1 sequence=7
media recovery complete, elapsed time: 00:00:00
Finished recover at 16-AUG-18
Oracle instance started
Total System Global Area 780824576 bytes
Fixed Size                     2257312 bytes
Variable Size                511708768 bytes
Database Buffers             264241152 bytes
Redo Buffers                   2617344 bytes
contents of Memory Script:
{
   sql clone "alter system set  db_name = 
 ''ORA235'' comment=
 ''Reset to original value by RMAN'' scope=spfile";
   sql clone "alter system reset  db_unique_name scope=spfile";
   shutdown clone immediate;
   startup clone nomount;
}
executing Memory Script
sql statement: alter system set db_name = ''ORA235'' comment= ''Reset to original value by RMAN'' scope=spfile
sql statement: alter system reset db_unique_name scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 780824576 bytes
Fixed Size                     2257312 bytes
Variable Size                511708768 bytes
Database Buffers             264241152 bytes
Redo Buffers                   2617344 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "ORA235" RESETLOGS ARCHIVELOG 
  MAXLOGFILES     16
  MAXLOGMEMBERS      3
  MAXDATAFILES      100
  MAXINSTANCES     8
  MAXLOGHISTORY      292
 LOGFILE
  GROUP   1 ( '/u01/app/oradata/ora235/redo01.log' ) SIZE 50 M  REUSE,
  GROUP   2 ( '/u01/app/oradata/ora235/redo02.log' ) SIZE 50 M  REUSE,
  GROUP   3 ( '/u01/app/oradata/ora235/redo03.log' ) SIZE 50 M  REUSE
 DATAFILE
  '/u01/app/oradata/ora235/system01.dbf'
 CHARACTER SET UTF8
contents of Memory Script:
{
   set newname for tempfile  1 to 
 "/u01/app/oradata/ora235/temp01.dbf";
   switch clone tempfile all;
   catalog clone datafilecopy  "/u01/app/oradata/ora235/sysaux01.dbf", 
 "/u01/app/oradata/ora235/undotbs01.dbf", 
 "/u01/app/oradata/ora235/users01.dbf", 
 "/data/oracle/data/lottu01.dbf";
   switch clone datafile all;
}
executing Memory Script
executing command: SET NEWNAME
renamed tempfile 1 to /u01/app/oradata/ora235/temp01.dbf in control file

