rman备份的完整trace文家,mark下,后续看下。

rman备份的完整trace文家,mark下,后续看下。

 

[ododod@cnsz131026 ~]$ rman target / debug trace='/paic/data/oracle/oradata/dongkuifeng/rman_back/rmandebug1.out'

Recovery Manager: Release 10.2.0.5.0 - Production on Mon Feb 17 14:58:09 2014

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

RMAN-06568: connected to target database: DONG (DBID=2075058494, not open)

RMAN> backup database;

RMAN-03090: Starting backup at 17-FEB-14
RMAN-06009: using target database control file instead of recovery catalog
RMAN-08030: allocated channel: ORA_DISK_1
RMAN-08500: channel ORA_DISK_1: sid=535 devtype=DISK
RMAN-08030: allocated channel: ORA_DISK_2
RMAN-08500: channel ORA_DISK_2: sid=534 devtype=DISK
RMAN-08030: allocated channel: ORA_DISK_3
RMAN-08500: channel ORA_DISK_3: sid=533 devtype=DISK
RMAN-08030: allocated channel: ORA_DISK_4
RMAN-08500: channel ORA_DISK_4: sid=532 devtype=DISK
RMAN-08046: channel ORA_DISK_1: starting compressed full datafile backupset
RMAN-08010: channel ORA_DISK_1: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00006 name=/paic/data/oracle/oradata/dongkuifeng/oradata/test01.dbf
RMAN-08038: channel ORA_DISK_1: starting piece 1 at 17-FEB-14
RMAN-08046: channel ORA_DISK_2: starting compressed full datafile backupset
RMAN-08010: channel ORA_DISK_2: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00002 name=/paic/data/oracle/oradata/dongkuifeng/oradata/undotbs01.dbf
RMAN-08522: input datafile fno=00003 name=/paic/data/oracle/oradata/dongkuifeng/oradata/sysaux01.dbf
RMAN-08522: input datafile fno=00005 name=/paic/data/oracle/oradata/dongkuifeng/oradata/undodjy.dbf
RMAN-08038: channel ORA_DISK_2: starting piece 1 at 17-FEB-14
RMAN-08046: channel ORA_DISK_3: starting compressed full datafile backupset
RMAN-08010: channel ORA_DISK_3: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00001 name=/paic/data/oracle/oradata/dongkuifeng/oradata/system01.dbf
RMAN-08522: input datafile fno=00009 name=/paic/data/oracle/oradata/dongkuifeng/oradata/users02.dbf
RMAN-08522: input datafile fno=00007 name=/paic/data/oracle/oradata/dongkuifeng/oradata/zxr01.dbf
RMAN-08038: channel ORA_DISK_3: starting piece 1 at 17-FEB-14
RMAN-08046: channel ORA_DISK_4: starting compressed full datafile backupset
RMAN-08010: channel ORA_DISK_4: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00004 name=/paic/data/oracle/oradata/dongkuifeng/oradata/users01.dbf
RMAN-08522: input datafile fno=00008 name=/paic/data/oracle/oradata/dongkuifeng/oradata2/myy01.dbf
RMAN-08522: input datafile fno=00010 name=/paic/data/oracle/oradata/dongkuifeng/oradata/dongdong.dbf
RMAN-08038: channel ORA_DISK_4: starting piece 1 at 17-FEB-14
RMAN-08044: channel ORA_DISK_1: finished piece 1 at 17-FEB-14
RMAN-08530: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_17/o1_mf_nnndf_TAG20140217T145819_9j3drcx2_.bkp tag=TAG20140217T145819 comment=NONE
RMAN-08540: channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
RMAN-08044: channel ORA_DISK_2: finished piece 1 at 17-FEB-14
RMAN-08530: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_17/o1_mf_nnndf_TAG20140217T145819_9j3drdc9_.bkp tag=TAG20140217T145819 comment=NONE
RMAN-08540: channel ORA_DISK_2: backup set complete, elapsed time: 00:00:16
RMAN-08044: channel ORA_DISK_4: finished piece 1 at 17-FEB-14
RMAN-08530: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_17/o1_mf_nnndf_TAG20140217T145819_9j3drdng_.bkp tag=TAG20140217T145819 comment=NONE
RMAN-08540: channel ORA_DISK_4: backup set complete, elapsed time: 00:00:15
RMAN-08044: channel ORA_DISK_3: finished piece 1 at 17-FEB-14
RMAN-08530: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_17/o1_mf_nnndf_TAG20140217T145819_9j3drdko_.bkp tag=TAG20140217T145819 comment=NONE
RMAN-08540: channel ORA_DISK_3: backup set complete, elapsed time: 00:00:16
RMAN-03091: Finished backup at 17-FEB-14

RMAN-03090: Starting Control File and SPFILE Autobackup at 17-FEB-14
RMAN-08503: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/autobackup/2014_02_17/o1_mf_s_839775379_9j3drxjt_.bkp comment=NONE
RMAN-03091: Finished Control File and SPFILE Autobackup at 17-FEB-14

RMAN> exit


Recovery Manager complete.
[odsz10g@cnsz131026 ~]$ more /paic/data/oracle/oradata/dongkuifeng/rman_back/rmandebug1.out

Recovery Manager: Release 10.2.0.5.0 - Production on Mon Feb 17 14:58:09 2014

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

ORACLE_HOME = /paic/app/oracle/odsz10g/app/oracle/product/10.2.0
System name:    Linux
Node name:      cnsz131026
Release:        2.6.18-308.4.1.el5
Version:        #1 SMP Wed Mar 28 01:54:56 EDT 2012
Machine:        x86_64

Starting with debugging set to level=9, types=ALL

DBGMISC:  ENTERED krmksimronly [14:58:09.414]

DBGSQL:    EXEC SQL AT CHANNEL IMMEDIATE/PREPARE alter session set events '19737 trace name context for
ever' [14:58:09.414]
DBGSQL:       sqlcode=0 [14:58:09.415]

DBGSQL:    EXEC SQL AT CHANNEL select decode(archiver,'FAILED',1,0) into :b1  from v$instance  [14:58:0
9.416]
DBGSQL:       sqlcode=0 [14:58:09.421]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT CHANNEL IMMEDIATE/PREPARE alter session set events '19737 trace name context off
' [14:58:09.421]
DBGSQL:       sqlcode=0 [14:58:09.422]
DBGMISC:  EXITED krmksimronly [14:58:09.422] elapsed time [00:00:00:00.008]
DBGMISC:  ENTERED krmksimronly [14:58:09.452]
DBGMISC:  EXITED krmksimronly [14:58:09.452] elapsed time [00:00:00:00.000]
DBGMISC:  ENTERED krmksimronly [14:58:09.487]
DBGMISC:  EXITED krmksimronly [14:58:09.487] elapsed time [00:00:00:00.000]
DBGRPC:   krmxpos: polling channel created to instance 1
DBGRPC:   krmxcc: xc=233687544
DBGMISC:  krmqopen: opening new channel context for channel default, instid 1 [14:58:09.498]

DBGSQL:   EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into :
b1  from v$database  [14:58:09.690]
DBGSQL:      sqlcode=0 [14:58:09.707]
DBGSQL:         :b1 = 0
DBGMISC:  krmqacen() [14:58:09.712]
DBGMISC:  krmqacen() : Exit [14:58:09.712]
DBGRPC:   krmxcd: xc=233687544
DBGMISC:  ENTERED krmkmrsr [14:58:09.712]
DBGMISC:  EXITED krmkmrsr [14:58:09.712] elapsed time [00:00:00:00.000]
DBGRPC:   krmxpocx: polling channel cleaned up
DBGMISC:  ENTERED krmksimronly [14:58:09.713]
DBGMISC:  EXITED krmksimronly [14:58:09.713] elapsed time [00:00:00:00.000]
DBGMISC:  ENTERED krmksimronly [14:58:09.749]
DBGMISC:  EXITED krmksimronly [14:58:09.749] elapsed time [00:00:00:00.000]
DBGMISC:  ENTERED krmksimronly [14:58:09.784]
DBGMISC:  EXITED krmksimronly [14:58:09.784] elapsed time [00:00:00:00.000]
DBGMISC:  ENTERED krmkcrsr [14:58:09.791]
DBGMISC:   ENTERED krmksimronly [14:58:09.814]
DBGMISC:   EXITED krmksimronly [14:58:09.814] elapsed time [00:00:00:00.000]
DBGRPC:    krmxpos: polling channel created to instance 1
DBGRPC:    krmxcc: xc=233687544
DBGMISC:   krmqopen: opening new channel context for channel default, instid 1 [14:58:09.818]

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:10.006]
DBGSQL:       sqlcode=0 [14:58:10.007]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :b1,
:b2  from v$instance  [14:58:10.008]
DBGSQL:       sqlcode=0 [14:58:10.012]
DBGSQL:          :b1 = 0
DBGSQL:          :b2 = 0

DBGSQL:    EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14:58
:10.012]
DBGSQL:       sqlcode=0 [14:58:10.029]
DBGSQL:          :b1 = "10.2.0.5.0"

DBGSQL:    EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varchar2
( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt , '
.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else dot3
rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1 ) ,
 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( substr (
 comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end ; [
14:58:10.030]
DBGSQL:       sqlcode=0 [14:58:10.052]
DBGSQL:          :b1 = "10.2.0.5.0"
DBGSQL:          :b2 = 100200
DBGMISC:   krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:10.052]

DBGSQL:    EXEC SQL AT TARGET begin :vsn_min := dbms_backup_restore . protocol_version_number_min ; :re
l_min := dbms_backup_restore . protocol_release_number_min ; :upd_min := dbms_backup_restore . protocol
_update_number_min ; :cmp_min := 0 ; :vsn_max := dbms_backup_restore . protocol_version_number_max ; :r
el_max := dbms_backup_restore . protocol_release_number_max ; :upd_max := dbms_backup_restore . protoco
l_update_number_max ; :cmp_max := 0 ; :pkg_vsn := to_char ( :vsn_max , 'fm00' ) || '.' || to_char ( :re
l_max , 'fm00' ) || '.' || to_char ( :upd_max , 'fm00' ) || '.' || to_char ( :cmp_max , 'fm00' ) ; end
; [14:58:10.052]
DBGSQL:       sqlcode=0 [14:58:10.056]
DBGSQL:          :b1 = 8
DBGSQL:          :b2 = 0
DBGSQL:          :b3 = 4
DBGSQL:          :b4 = 0
DBGSQL:          :b5 = 10
DBGSQL:          :b6 = 2
DBGSQL:          :b7 = 0
DBGSQL:          :b8 = 0
DBGSQL:          :b9 = "10.02.00.00"

DBGSQL:    EXEC SQL AT TARGET begin :cmp_min := dbms_backup_restore . protocol_component_number_min ; :
cmp_max := dbms_backup_restore . protocol_component_number_max ; :pkg_vsn := to_char ( :vsn_max , 'fm00
' ) || '.' || to_char ( :rel_max , 'fm00' ) || '.' || to_char ( :upd_max , 'fm00' ) || '.' || to_char (
 :cmp_max , 'fm00' ) ; end ; [14:58:10.057]
DBGSQL:       sqlcode=0 [14:58:10.060]
DBGSQL:          :b1 = 0
DBGSQL:          :b2 = 5
DBGSQL:          :b3 = "10.02.00.05"
DBGSQL:          :b4 = 10
DBGSQL:          :b5 = 2
DBGSQL:          :b6 = 0

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.061]
DBGSQL:       sqlcode=0 [14:58:10.072]
DBGSQL:          :b1 = "08.00.04.00"
DBGSQL:          :b3 = 8000400

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.072]
DBGSQL:       sqlcode=0 [14:58:10.073]
DBGSQL:          :b1 = "08.00.05.00"
DBGSQL:          :b3 = 8000500

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.073]
DBGSQL:       sqlcode=0 [14:58:10.074]
DBGSQL:          :b1 = "08.01.03.00"
DBGSQL:          :b3 = 8010300

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.074]
DBGSQL:       sqlcode=0 [14:58:10.074]
DBGSQL:          :b1 = "08.01.05.00"
DBGSQL:          :b3 = 8010500

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.075]
DBGSQL:       sqlcode=0 [14:58:10.075]
DBGSQL:          :b1 = "08.01.06.00"
DBGSQL:          :b3 = 8010600

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.075]
DBGSQL:       sqlcode=0 [14:58:10.076]
DBGSQL:          :b1 = "08.01.07.00"
DBGSQL:          :b3 = 8010700

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.076]
DBGSQL:       sqlcode=0 [14:58:10.076]
DBGSQL:          :b1 = "09.00.00.00"
DBGSQL:          :b3 = 9000000

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.077]
DBGSQL:       sqlcode=0 [14:58:10.077]
DBGSQL:          :b1 = "09.02.00.00"
DBGSQL:          :b3 = 9020000

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.078]
DBGSQL:       sqlcode=0 [14:58:10.078]
DBGSQL:          :b1 = "10.01.00.00"
DBGSQL:          :b3 = 10010000

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.078]
DBGSQL:       sqlcode=0 [14:58:10.079]
DBGSQL:          :b1 = "10.02.00.00"
DBGSQL:          :b3 = 10020000

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.079]
DBGSQL:       sqlcode=0 [14:58:10.079]
DBGSQL:          :b1 = "10.02.00.01"
DBGSQL:          :b3 = 10020001

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.080]
DBGSQL:       sqlcode=0 [14:58:10.080]
DBGSQL:          :b1 = "10.02.00.02"
DBGSQL:          :b3 = 10020002

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.080]
DBGSQL:       sqlcode=0 [14:58:10.081]
DBGSQL:          :b1 = "10.02.00.03"
DBGSQL:          :b3 = 10020003

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.081]
DBGSQL:       sqlcode=0 [14:58:10.081]
DBGSQL:          :b1 = "10.02.00.04"
DBGSQL:          :b3 = 10020004

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.082]
DBGSQL:       sqlcode=0 [14:58:10.082]
DBGSQL:          :b1 = "10.02.00.05"
DBGSQL:          :b3 = 10020005

DBGSQL:    EXEC SQL AT TARGET declare vsn varchar2 ( 20 ) ; begin vsn := dbms_rcvman . getPackageVersio
n ; :pkg_vsn:pkg_vsn_i := vsn ; if vsn is not null then :pkg_vsnub4 := to_number ( substr ( vsn , 1 , 2
 ) || substr ( vsn , 4 , 2 ) || substr ( vsn , 7 , 2 ) || nvl ( substr ( vsn , 10 , 2 ) , '00' ) ) ; en
d if ; end ; [14:58:10.083]
DBGSQL:       sqlcode=0 [14:58:10.083]
DBGSQL:          :b1 = NULL
DBGSQL:          :b3 = 10020005

DBGSQL:    EXEC SQL AT TARGET begin dbms_rcvman . setDebugOn ; end ; [14:58:10.083]
DBGSQL:       sqlcode=0 [14:58:10.085]

DBGSQL:    EXEC SQL AT TARGET begin sys . dbms_backup_restore . createRmanStatusRow ( level => :level ,
 parent_id => :pid , parent_stamp => :pts , status => :status , command_id => :command_id , operation =
> :operation , row_id => :row_id , row_stamp => :row_stamp , flags => :flags ) ; end ; [14:58:10.085]
DBGSQL:       sqlcode=0 [14:58:10.162]
DBGSQL:          :b1 = 0
DBGSQL:          :b2 = 0
DBGSQL:          :b3 = 0
DBGSQL:          :b4 = 1
DBGSQL:          :b5 = "2014-02-17T14:58:09"
DBGSQL:          :b6 = "RMAN"
DBGSQL:          :b7 = 13
DBGSQL:          :b8 = 839775490
DBGSQL:          :b9 = 0
DBGMISC:  EXITED krmkcrsr [14:58:10.162] elapsed time [00:00:00:00.371]

DBGSQL:   EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into :
b1  from v$database  [14:58:10.163]
DBGSQL:      sqlcode=0 [14:58:10.164]
DBGSQL:         :b1 = 0

DBGSQL:   EXEC SQL AT TARGET select db.name ,dbinc.resetlogs_time ,dbinc.resetlogs_change# ,db.dbid ,rp
ad(db.name,8,'x') ,dbinc.prior_resetlogs_time ,dbinc.prior_resetlogs_change# into :b1:b2,:b3,:b4,:b5:b6
,:b7,:b8:b9,:b10:b11  from v$database db ,v$database_incarnation dbinc where dbinc.status='CURRENT' [14
:58:10.164]
DBGSQL:      sqlcode=0 [14:58:10.173]
DBGSQL:         :b1 = "DONG"
DBGSQL:         :b3 = "18-OCT-13"
DBGSQL:         :b4 = 21559129
DBGSQL:         :b5 = 2075058494
DBGSQL:         :b7 = "DONGxxxx"
DBGSQL:         :b8 = "14-SEP-12"
DBGSQL:         :b10 = 1

DBGSQL:   EXEC SQL AT TARGET select nvl(max(cpmid),0) into :b1  from x$kcccp where cpsta=2 [14:58:10.17
3]
DBGSQL:      sqlcode=0 [14:58:10.175]
DBGSQL:         :b1 = 0
DBGANY:   KRMKGETDB: mid is 0 [14:58:10.175]

DBGSQL:   EXEC SQL AT TARGET select value into :b1  from v$parameter where lower(name)='db_unique_name'
 [14:58:10.175]
DBGSQL:      sqlcode=0 [14:58:10.186]
DBGSQL:         :b1 = "dongkuifeng"

DBGSQL:   EXEC SQL AT TARGET select count(*)  into :b1  from v$parameter where (lower(name)='_dummy_ins
tance' and value='TRUE') [14:58:10.187]
DBGSQL:      sqlcode=0 [14:58:10.194]
DBGSQL:         :b1 = 0

DBGSQL:   EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter='P
arallel backup and recovery' [14:58:10.194]
DBGSQL:      sqlcode=0 [14:58:10.196]
DBGSQL:         :b1 = 1

DBGSQL:   EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter='I
ncremental backup and recovery' [14:58:10.197]
DBGSQL:      sqlcode=0 [14:58:10.198]
DBGSQL:         :b1 = 1

DBGSQL:   EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter='D
uplexed backups' [14:58:10.198]
DBGSQL:      sqlcode=0 [14:58:10.199]
DBGSQL:         :b1 = 1

DBGSQL:   EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter='B
lock Media Recovery' [14:58:10.199]
DBGSQL:      sqlcode=0 [14:58:10.200]
DBGSQL:         :b1 = 1

DBGSQL:   EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter='P
oint-in-time tablespace recovery' [14:58:10.201]
DBGSQL:      sqlcode=0 [14:58:10.202]
DBGSQL:         :b1 = 1

DBGSQL:   EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter='B
ackup Encryption' [14:58:10.202]
DBGSQL:      sqlcode=0 [14:58:10.203]
DBGSQL:         :b1 = 1
RMAN-06568: connected to target database: DONG (DBID=2075058494, not open)

DBGSQL:   EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into :
b1  from v$database  [14:58:10.204]
DBGSQL:      sqlcode=0 [14:58:10.204]
DBGSQL:         :b1 = 0


DBGSQL:   EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into :
b1  from v$database  [14:58:10.207]
DBGSQL:      sqlcode=0 [14:58:10.208]
DBGSQL:         :b1 = 0
RMAN>

DBGSQL:   EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into :
b1  from v$database  [14:58:17.375]
DBGSQL:      sqlcode=0 [14:58:17.376]
DBGSQL:         :b1 = 0

DBGMISC:  Node # 1 [14:58:17.376]
DBGMISC:  backup
DBGMISC:    1 BSLIST
DBGMISC:        1 BSPEC
DBGMISC:            1 DBASE
DBGMISC:  ENTERED krmice [14:58:17.377]
DBGMISC:   command to be compiled and executed is: backup  [14:58:17.377] (krmice)
DBGMISC:   command after this command is: NONE  [14:58:17.377] (krmice)
DBGMISC:   current incarnation does not matter for backup [14:58:17.377] (krmice)
DBGMISC:   ENTERED krmkcrsr [14:58:17.377]

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:17.377]
DBGSQL:        sqlcode=0 [14:58:17.378]
DBGSQL:           :b1 = 0

DBGSQL:     EXEC SQL AT TARGET begin sys . dbms_backup_restore . createRmanStatusRow ( level => :level
, parent_id => :pid , parent_stamp => :pts , status => :status , command_id => :command_id , operation
=> :operation , row_id => :row_id , row_stamp => :row_stamp , flags => :flags ) ; end ; [14:58:17.378]
DBGSQL:        sqlcode=0 [14:58:17.451]
DBGSQL:           :b1 = 1
DBGSQL:           :b2 = 13
DBGSQL:           :b3 = 839775490
DBGSQL:           :b4 = 1
DBGSQL:           :b5 = "2014-02-17T14:58:09"
DBGSQL:           :b6 = "backup"
DBGSQL:           :b7 = 14
DBGSQL:           :b8 = 839775497
DBGSQL:           :b9 = 257
DBGMISC:   EXITED krmkcrsr [14:58:17.452] elapsed time [00:00:00:00.075]
RMAN-03090: Starting backup at 17-FEB-14

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:17.452]
DBGSQL:       sqlcode=0 [14:58:17.453]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:17.453]
DBGSQL:       sqlcode=0 [14:58:17.454]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET select controlfile_type ,controlfile_change# ,controlfile_sequence# ,cont
rolfile_created ,decode(offr.records_used,0,0,((offr.last_recid-offr.records_used)+1)) into :b1,:b2,:b3
,:b4,:b5  from v$database ,v$controlfile_record_section offr where offr.type='OFFLINE RANGE' [14:58:17.
454]
DBGSQL:       sqlcode=0 [14:58:17.464]
DBGSQL:          :b1 = "CURRENT"
DBGSQL:          :b2 = 26166386
DBGSQL:          :b3 = 19852
DBGSQL:          :b4 = "14-SEP-12"
DBGSQL:          :b5 = 0
DBGANY:    trying implicit resync before compiling command backup [14:58:17.465]
DBGMISC:   ENTERED krmknrsn [14:58:17.465]

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:17.465]
DBGSQL:        sqlcode=0 [14:58:17.465]
DBGSQL:           :b1 = 0

DBGSQL:     EXEC SQL AT TARGET select nvl(max(al.recid),0) into :b1  from v$archived_log al where ((al.
status in ('X','A') and al.is_recovery_dest_file='YES') and al.creator='RMAN') [14:58:17.466]
DBGSQL:        sqlcode=0 [14:58:17.478]
DBGSQL:           :b1 = 0

DBGSQL:     EXEC SQL AT TARGET _section tf ,v$controlfile_record_section ts ,v$controlfile_record_secti
on rl ,v$controlfile_record_section rm ,v$controlfile_record_section dc ,v$controlfile_record_section a
l ,v$controlfile_record_section bp ,v$controlfile_record_section do ,v$controlfile_record_section offr
,v$controlfile_record_section pc ,v$controlfile_record_section bs ,v$controlfile_record_section ic ,v$c
ontrolfile_record_section grsp ,v$database_incarnation dbinc ,v$database_incarnation ldbinc where (((((
((((((((((df.type='DATAFILE' and tf.type='TEMPORARY FILENAME') and ts.type='TABLESPACE') and rl.type='R
EDO LOG') and rm.type='RMAN CONFIGURATION') and dc.type='DATAFILE COPY') and al.type='ARCHIVED LOG') an
d bp.type='BACKUP PIECE') and do.type='DELETED OBJECT') and offr.type='OFFLINE RANGE') and pc.type='PRO
XY COPY') and bs.type='BACKUP SET') and ic.type='DATABASE INCARNATION') and grsp.type='GUARANTEED RESTO
RE POINT') and dbinc.incarnation#=db.recovery_target_incarnation#) and ldbinc.incarnation#=db.last_open
_incarnation#) [14:58:17.478]
DBGSQL:        sqlcode=0 [14:58:17.584]
DBGSQL:           :b1 = "14-SEP-12"
DBGSQL:           :b2 = 26166386
DBGSQL:           :b3 = 19852
DBGSQL:           :b4 = "18-OCT-13"
DBGSQL:           :b5 = 4929
DBGSQL:           :b6 = 1
DBGSQL:           :b7 = 28
DBGSQL:           :b8 = 15
DBGSQL:           :b9 = 3
DBGSQL:           :b10 = 0
DBGSQL:           :b11 = 58
DBGSQL:           :b12 = 0
DBGSQL:           :b13 = 0
DBGSQL:           :b14 = 0
DBGSQL:           :b15 = 0
DBGSQL:           :b16 = 0
DBGSQL:           :b17 = 21559129
DBGSQL:           :b18 = "18-OCT-13"
DBGSQL:           :b19 = 2
DBGSQL:           :b20 = 0
DBGSQL:           :b21 = 0
DBGSQL:           :b22 = 1
DBGSQL:           :b23 = 0
DBGSQL:           :b24 = 0
DBGSQL:           :b25 = 0
DBGSQL:           :b26 = 0
DBGSQL:           :b27 = 0
DBGMISC:    resync=3, newbck=0, needref=0 [14:58:17.586] (krmknrsn)
DBGMISC:   EXITED krmknrsn [14:58:17.586] elapsed time [00:00:00:00.121]
DBGMISC:   ENTERED krmkomp [14:58:17.586]
DBGMISC:    ENTERED krmkgdconf [14:58:17.586]
DBGMISC:     input devtype=null [14:58:17.586] (krmkgdconf)
DBGMISC:     Entering krmkgconf [14:58:17.586]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:17.586]
DBGSQL:         sqlcode=0 [14:58:17.587]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :b
1,:b2  from v$instance  [14:58:17.587]
DBGSQL:         sqlcode=0 [14:58:17.587]
DBGSQL:            :b1 = 0
DBGSQL:            :b2 = 0

DBGSQL:      EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14:
58:17.588]
DBGSQL:         sqlcode=0 [14:58:17.594]
DBGSQL:            :b1 = "10.2.0.5.0"

DBGSQL:      EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varchar
2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt ,
 '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else do
t3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1 )
 , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( substr
 ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end ;
 [14:58:17.594]
DBGSQL:         sqlcode=0 [14:58:17.595]
DBGSQL:            :b1 = "10.2.0.5.0"
DBGSQL:            :b2 = 100200
DBGMISC:     krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:17.595]

DBGSQL:      EXEC SQL AT TARGET select controlfile_type ,controlfile_change# ,controlfile_sequence# ,co
ntrolfile_created ,decode(offr.records_used,0,0,((offr.last_recid-offr.records_used)+1)) into :b1,:b2,:
b3,:b4,:b5  from v$database ,v$controlfile_record_section offr where offr.type='OFFLINE RANGE' [14:58:1
7.595]
DBGSQL:         sqlcode=0 [14:58:17.596]
DBGSQL:            :b1 = "CURRENT"
DBGSQL:            :b2 = 26166386
DBGSQL:            :b3 = 19852
DBGSQL:            :b4 = "14-SEP-12"
DBGSQL:            :b5 = 0
RMAN-06009: using target database control file instead of recovery catalog

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:17.597]
DBGSQL:         sqlcode=0 [14:58:17.597]
DBGSQL:            :b1 = 0
DBGRPC:      krmxcd: xc=233687544
DBGRPC:      krmxpocx: polling channel cleaned up
DBGMISC:     ENTERED krmksimronly [14:58:17.633]
DBGMISC:     EXITED krmksimronly [14:58:17.634] elapsed time [00:00:00:00.000]
DBGANY:      KRMSVCON: mid is 0 [14:58:17.639]
DBGRPC:      krmxpos: polling channel created to instance 1
DBGRPC:      krmxcc: xc=233687544
DBGMISC:     krmqopen: opening new channel context for channel default, instid 1 [14:58:17.643]

DBGSQL:      EXEC SQL AT TARGET begin dbms_rcvcat . setDebugOn ; end ; [14:58:17.828]
DBGSQL:         sqlcode=-6550 [14:58:17.829]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:17.829]
DBGSQL:         sqlcode=0 [14:58:17.829]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select db.name ,dbinc.resetlogs_time ,dbinc.resetlogs_change# ,db.dbid
,rpad(db.name,8,'x') ,dbinc.prior_resetlogs_time ,dbinc.prior_resetlogs_change# into :b1:b2,:b3,:b4,:b5
:b6,:b7,:b8:b9,:b10:b11  from v$database db ,v$database_incarnation dbinc where dbinc.status='CURRENT'
[14:58:17.830]
DBGSQL:         sqlcode=0 [14:58:17.831]
DBGSQL:            :b1 = "DONG"
DBGSQL:            :b3 = "18-OCT-13"
DBGSQL:            :b4 = 21559129
DBGSQL:            :b5 = 2075058494
DBGSQL:            :b7 = "DONGxxxx"
DBGSQL:            :b8 = "14-SEP-12"
DBGSQL:            :b10 = 1

DBGSQL:      EXEC SQL AT TARGET select nvl(max(cpmid),0) into :b1  from x$kcccp where cpsta=2 [14:58:17
.831]
DBGSQL:         sqlcode=0 [14:58:17.832]
DBGSQL:            :b1 = 0
DBGANY:      KRMKGETDB: mid is 0 [14:58:17.832]

DBGSQL:      EXEC SQL AT TARGET select value into :b1  from v$parameter where lower(name)='db_unique_na
me' [14:58:17.832]
DBGSQL:         sqlcode=0 [14:58:17.844]
DBGSQL:            :b1 = "dongkuifeng"

DBGSQL:      EXEC SQL AT TARGET select count(*)  into :b1  from v$parameter where (lower(name)='_dummy_
instance' and value='TRUE') [14:58:17.844]
DBGSQL:         sqlcode=0 [14:58:17.855]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter
='Parallel backup and recovery' [14:58:17.856]
DBGSQL:         sqlcode=0 [14:58:17.856]
DBGSQL:            :b1 = 1

DBGSQL:      EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter
='Incremental backup and recovery' [14:58:17.856]
DBGSQL:         sqlcode=0 [14:58:17.857]
DBGSQL:            :b1 = 1

DBGSQL:      EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter
='Duplexed backups' [14:58:17.857]
DBGSQL:         sqlcode=0 [14:58:17.858]
DBGSQL:            :b1 = 1

DBGSQL:      EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter
='Block Media Recovery' [14:58:17.858]
DBGSQL:         sqlcode=0 [14:58:17.858]
DBGSQL:            :b1 = 1

DBGSQL:      EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter
='Point-in-time tablespace recovery' [14:58:17.859]
DBGSQL:         sqlcode=0 [14:58:17.859]
DBGSQL:            :b1 = 1

DBGSQL:      EXEC SQL AT TARGET select decode(value,'TRUE',1,0) into :b1  from v$option where parameter
='Backup Encryption' [14:58:17.859]
DBGSQL:         sqlcode=0 [14:58:17.860]
DBGSQL:            :b1 = 1

DBGSQL:      EXEC SQL AT TARGET begin dbms_rcvman . setDatabase ( upper ( :dbname:dbname_i ) , :rlscn ,
 :rltime , :fhdbi:fhdbi_i , :db_unique_name ) ; dbms_rcvman . setCanApplyAnyRedo ( TRUE ) ; end ; [14:5
8:17.860]
DBGSQL:         sqlcode=0 [14:58:17.866]
DBGSQL:            :b1 = "DONG"
DBGSQL:            :b3 = 21559129
DBGSQL:            :b4 = "18-OCT-13"
DBGSQL:            :b5 = 2075058494
DBGSQL:            :b7 = "dongkuifeng"
   DBGRCVMAN: Fetching incarnation records
   DBGRCVMAN: incarnation record id=0
   DBGRCVMAN: icprs=1,icprc=14-SEP-12
   DBGRCVMAN: icrls=21559129,icrlc=18-OCT-13
   DBGRCVMAN: icrlc_i=829155752
   DBGRCVMAN: icpinc=1
   DBGRCVMAN: icflg=CURRENT
   DBGRCVMAN: incarnation record id=1
   DBGRCVMAN: icprs=0,icprc=
   DBGRCVMAN: icrls=1,icrlc=14-SEP-12
   DBGRCVMAN: icrlc_i=793981917
   DBGRCVMAN: icpinc=0
   DBGRCVMAN: icflg=PARENT
   DBGRCVMAN: number of incarnation=2
   DBGRCVMAN: canApplyAnyRedo is set to TRUE
DBGMISC:     krmkgconf: Configuration is RETENTION POLICY [14:58:17.870]

DBGSQL:      EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fir
st := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:val
ue_i , first ) ; end ; [14:58:17.870]
DBGSQL:         sqlcode=1403 [14:58:17.875]
DBGMISC:     Function kmkgconf created the following tree: [14:58:17.875]
DBGMISC:     EXIT
DBGMISC:     Exiting krmkgconf [14:58:17.875]
DBGMISC:     retention policy
DBGMISC:       1 REDUND = 1
DBGMISC:    EXITED krmkgdconf [14:58:17.876] elapsed time [00:00:00:00.289]
DBGMISC:    ENTERED krmkgdconf [14:58:17.876]
DBGMISC:     input devtype=null [14:58:17.876] (krmkgdconf)
DBGMISC:     Entering krmkgconf [14:58:17.876]
DBGMISC:     krmkgconf: Configuration is BACKUP OPTIMIZATION [14:58:17.876]

DBGSQL:      EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fir
st := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:val
ue_i , first ) ; end ; [14:58:17.876]
DBGSQL:         sqlcode=0 [14:58:17.877]
DBGSQL:            :b1 = 1
DBGSQL:            :b2 = "BACKUP OPTIMIZATION"
DBGSQL:            :b4 = "ON"

DBGSQL:      EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fir
st := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:val
ue_i , first ) ; end ; [14:58:17.877]
DBGSQL:         sqlcode=1403 [14:58:17.878]
DBGMISC:     Function kmkgconf created the following tree: [14:58:17.878]
DBGMISC:     configure
DBGMISC:       1 backup optimization
DBGMISC:           1 ON
DBGMISC:     EXIT
DBGMISC:     Exiting krmkgconf [14:58:17.878]
DBGMISC:     backup optimization
DBGMISC:       1 ON
DBGMISC:    EXITED krmkgdconf [14:58:17.878] elapsed time [00:00:00:00.002]

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:17.879]
DBGSQL:        sqlcode=0 [14:58:17.879]
DBGSQL:           :b1 = 0
DBGMISC:    krmqacrd() : read channel configuration [14:58:17.880]
DBGMISC:    Entering krmkgconf [14:58:17.880]
DBGMISC:    krmkgconf: Configuration is DEVICE TYPE [14:58:17.880]

DBGSQL:     EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then firs
t := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:valu
e_i , first ) ; end ; [14:58:17.880]
DBGSQL:        sqlcode=0 [14:58:17.880]
DBGSQL:           :b1 = 1
DBGSQL:           :b2 = "DEVICE TYPE"
DBGSQL:           :b4 = "DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4"

DBGSQL:     EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then firs
t := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:valu
e_i , first ) ; end ; [14:58:17.881]
DBGSQL:        sqlcode=1403 [14:58:17.881]
DBGMISC:    Function kmkgconf created the following tree: [14:58:17.882]
DBGMISC:    configure
DBGMISC:      1 DEV CONFIG
DBGMISC:          1 CHDISK
DBGMISC:          2 compress
DBGMISC:          3 parnum = 4
DBGMISC:    EXIT
DBGMISC:    Exiting krmkgconf [14:58:17.882]
DBGMISC:    ENTERED krmkgdconf [14:58:17.882]
DBGMISC:     input devtype=null [14:58:17.882] (krmkgdconf)
DBGMISC:     Entering krmkgconf [14:58:17.882]
DBGMISC:     krmkgconf: Configuration is DEFAULT DEVICE TYPE TO [14:58:17.883]

DBGSQL:      EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fir
st := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:val
ue_i , first ) ; end ; [14:58:17.883]
DBGSQL:         sqlcode=1403 [14:58:17.883]
DBGMISC:     Function kmkgconf created the following tree: [14:58:17.884]
DBGMISC:     EXIT
DBGMISC:     Exiting krmkgconf [14:58:17.884]
DBGMISC:     default device
DBGMISC:       1 CHDISK
DBGMISC:    EXITED krmkgdconf [14:58:17.884] elapsed time [00:00:00:00.001]
DBGMISC:    Entering krmkgconf [14:58:17.884]
DBGMISC:    krmkgconf: Configuration is CHANNEL [14:58:17.884]

DBGSQL:     EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then firs
t := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:valu
e_i , first ) ; end ; [14:58:17.884]
DBGSQL:        sqlcode=1403 [14:58:17.885]
DBGMISC:    Function kmkgconf created the following tree: [14:58:17.885]
DBGMISC:    EXIT
DBGMISC:    Exiting krmkgconf [14:58:17.885]
DBGMISC:    Entering krmkgconf [14:58:17.885]
DBGMISC:    krmkgconf: Configuration is AUXILIARY CHANNEL [14:58:17.885]

DBGSQL:     EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then firs
t := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:valu
e_i , first ) ; end ; [14:58:17.885]
DBGSQL:        sqlcode=1403 [14:58:17.886]
DBGMISC:    Function kmkgconf created the following tree: [14:58:17.886]
DBGMISC:    EXIT
DBGMISC:    Exiting krmkgconf [14:58:17.886]
DBGMISC:    krmqcons() :clone 0, device DISK, channel 0
DBGMISC:    krmqcons() :Set default configuration [14:58:17.886]
DBGMISC:    krmqcons() : Exit [14:58:17.887]
DBGMISC:    krmqcons() :clone 0, device DISK, channel 1
DBGMISC:    krmqcons() :use default channel configuration [14:58:17.887]
DBGMISC:    krmqcons() : Exit [14:58:17.887]
DBGMISC:    krmqcons() :clone 0, device DISK, channel 2
DBGMISC:    krmqcons() :use default channel configuration [14:58:17.887]
DBGMISC:    krmqcons() : Exit [14:58:17.887]
DBGMISC:    krmqcons() :clone 0, device DISK, channel 3
DBGMISC:    krmqcons() :use default channel configuration [14:58:17.887]
DBGMISC:    krmqcons() : Exit [14:58:17.887]
DBGMISC:    krmqcons() :clone 0, device DISK, channel 4
DBGMISC:    krmqcons() :use default channel configuration [14:58:17.887]
DBGMISC:    krmqcons() : Exit [14:58:17.887]
DBGMISC:    krmqcons() :clone 1, device DISK, channel 0
DBGMISC:    krmqcons() : Exit [14:58:17.887]
DBGMISC:    krmqcons() :clone 1, device DISK, channel 1
DBGMISC:    krmqdupc() :duplicate ORA_DISK_1 channel [14:58:17.888]
DBGMISC:    krmqdupc() : Exit [14:58:17.888]
DBGMISC:    krmqcons() : Exit [14:58:17.888]
DBGMISC:    krmqcons() :clone 1, device DISK, channel 2
DBGMISC:    krmqdupc() :duplicate ORA_DISK_2 channel [14:58:17.888]
DBGMISC:    krmqdupc() : Exit [14:58:17.888]
DBGMISC:    krmqcons() : Exit [14:58:17.888]
DBGMISC:    krmqcons() :clone 1, device DISK, channel 3
DBGMISC:    krmqdupc() :duplicate ORA_DISK_3 channel [14:58:17.888]
DBGMISC:    krmqdupc() : Exit [14:58:17.888]
DBGMISC:    krmqcons() : Exit [14:58:17.888]
DBGMISC:    krmqcons() :clone 1, device DISK, channel 4
DBGMISC:    krmqdupc() :duplicate ORA_DISK_4 channel [14:58:17.888]
DBGMISC:    krmqdupc() : Exit [14:58:17.889]
DBGMISC:    krmqcons() : Exit [14:58:17.889]
DBGMISC:    krmqacrd() : Exit [14:58:17.889]
DBGMISC:    krmqalc1() :clone 0, device DISK, allocated = 0, need = 65535
DBGMISC:    krmqacdi() [14:58:17.889]
DBGMISC:    krmqacdi() : Exit [14:58:17.889]
DBGMISC:    krmqalc1() :allocating channels for DISK [14:58:17.889]

DBGMISC:    Node # 1 [14:58:17.889]
DBGMISC:    allocate
DBGMISC:      1 CHID = ORA_DISK_1
DBGMISC:      2 CHDISK
DBGMISC:    ENTERED krmice [14:58:17.889]
DBGMISC:     command to be compiled and executed is: allocate  [14:58:17.889] (krmice)
DBGMISC:     command after this command is: NONE  [14:58:17.889] (krmice)
DBGMISC:     current incarnation does not matter for allocate [14:58:17.890] (krmice)
DBGMISC:     ENTERED krmkomp [14:58:17.890]
DBGMISC:      Name translation defaults to catalog - 2 [14:58:17.890] (krmkomp)
DBGMISC:      ENTERED krmknmtr [14:58:17.890]

DBGSQL:        EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into
:b1,:b2  from v$instance  [14:58:17.890]
DBGSQL:           sqlcode=0 [14:58:17.890]
DBGSQL:              :b1 = 0
DBGSQL:              :b2 = 0

DBGSQL:        EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [1
4:58:17.891]
DBGSQL:           sqlcode=0 [14:58:17.901]
DBGSQL:              :b1 = "10.2.0.5.0"

DBGSQL:        EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varch
ar2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt
 , '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else
dot3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1
 ) , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( subs
tr ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end
 ; [14:58:17.902]
DBGSQL:           sqlcode=0 [14:58:17.902]
DBGSQL:              :b1 = "10.2.0.5.0"
DBGSQL:              :b2 = 100200
DBGMISC:       krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:17.903]

DBGSQL:        EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) i
nto :b1  from v$database  [14:58:17.903]
DBGSQL:           sqlcode=0 [14:58:17.903]
DBGSQL:              :b1 = 0

DBGSQL:        EXEC SQL AT TARGET rcvman . getAlBackup ; :listAlCopy := dbms_rcvman . listAlCopy ; :lis
tBSet := dbms_rcvman . listBSet ; :getAllBSet := dbms_rcvman . getAllBSet ; :listAlProxy := dbms_rcvman
 . listAlProxy ; :getRangeAlBackup := dbms_rcvman . getRangeAlBackup ; :unknownCmd := dbms_rcvman . unk
nownCmd_t ; :recoverCmd := dbms_rcvman . recoverCmd_t ; :rcvCopyCmd := dbms_rcvman . rcvCopyCmd_t ; :re
storeCmd := dbms_rcvman . restoreCmd_t ; end ; [14:58:17.904]
DBGSQL:           sqlcode=0 [14:58:17.925]
DBGSQL:              :b1 = 0
DBGSQL:              :b2 = 0
DBGSQL:              :b3 = 2
DBGSQL:              :b4 = 1
DBGSQL:              :b5 = 3
DBGSQL:              :b6 = 4
DBGSQL:              :b7 = 1
DBGSQL:              :b8 = 2
DBGSQL:              :b9 = 4
DBGSQL:              :b10 = 8
DBGSQL:              :b11 = 16
DBGSQL:              :b12 = 1
DBGSQL:              :b13 = 2
DBGSQL:              :b14 = 4
DBGSQL:              :b15 = 1
DBGSQL:              :b16 = 2
DBGSQL:              :b17 = 1
DBGSQL:              :b18 = 2
DBGSQL:              :b19 = 4
DBGSQL:              :b20 = 8
DBGSQL:              :b21 = 512
DBGSQL:              :b22 = 16
DBGSQL:              :b23 = 1
DBGSQL:              :b24 = 2
DBGSQL:              :b25 = 4
DBGSQL:              :b26 = 8
DBGSQL:              :b27 = 32
DBGSQL:              :b28 = 16
DBGSQL:              :b29 = 128
DBGSQL:              :b30 = 0
DBGSQL:              :b31 = 1
DBGSQL:              :b32 = 2
DBGSQL:              :b33 = 3
DBGSQL:              :b34 = 14
DBGSQL:              :b35 = 4
DBGSQL:              :b36 = 5
DBGSQL:              :b37 = 6
DBGSQL:              :b38 = 15
DBGSQL:              :b39 = 7
DBGSQL:              :b40 = 8
DBGSQL:              :b41 = 9
DBGSQL:              :b42 = 10
DBGSQL:              :b43 = 11
DBGSQL:              :b44 = 12
DBGSQL:              :b45 = 13
DBGSQL:              :b46 = 16
DBGSQL:              :b47 = 17
DBGSQL:              :b48 = 18
DBGSQL:              :b49 = 0
DBGSQL:              :b50 = 1
DBGSQL:              :b51 = 2
DBGSQL:              :b52 = 4
     DBGRCVMAN: resetAll
     DBGRCVMAN: setRAflags kindMask=255 containerMask=15 actionMask=63
     DBGRCVMAN: ENTERING setComputeRecoveryActionMasks
     DBGRCVMAN: EXITING setComputeRecoveryActionMasks
     DBGRCVMAN: allIncarnations is set to FALSE
     DBGRCVMAN: *****BsRecCache Statistics*****
     DBGRCVMAN: Cache size=0 hit=0
     DBGRCVMAN: rcvRecBackupAge= 0
     DBGRCVMAN: thisBackupAge= 0
     DBGRCVMAN: ENTERING setRedoLogDeletionPolicy
     DBGRCVMAN:    setRedoLogDeletionPolicy with policy = TO NONE
     DBGRCVMAN:    setRedoLogDeletionPolicy with alldest = 0
     DBGRCVMAN:  ENTERING validateStandbyConfig1
     DBGRCVMAN: policy  = TO NONE
     DBGRCVMAN: alldest = 0
     DBGRCVMAN:  EXITING validateStandbyConfig1 with target   = NULLwith status   = 1
     DBGRCVMAN: EXITING setRedoLogDeletionPolicy with policy = TO NONE with target = NULL with bind  =
MANDATORY
DBGMISC:       ENTERED krmknmtr [14:58:17.931]
DBGMISC:       EXITED krmknmtr with status CHID [14:58:17.931] elapsed time [00:00:00:00.000]
DBGMISC:       krmknmtr:  the parse tree after name translation is: [14:58:17.931]
DBGMISC:      EXITED krmknmtr with status allocate [14:58:17.932] elapsed time [00:00:00:00.041]
DBGMISC:      krmkdps: this_reset_scn=21559129 [14:58:17.933]
DBGMISC:      krmkdps: this_reset_time=18-OCT-13 [14:58:17.934]
DBGMISC:      krmkdps: untilSCN= [14:58:17.934]
DBGMISC:      krmkdps: untilTime= [14:58:17.934]
DBGMISC:      krmkdps: getRA_completedAfter= [14:58:17.934]
DBGMISC:      krmkdps: getRA_completedBefore= [14:58:17.935]
DBGMISC:      krmkdps: getRA_likePattern= [14:58:17.935]
DBGMISC:      krmkdps: getRA_containerMask=15 [14:58:17.935]
DBGMISC:      krmkdps: getRA_actionMask=63 [14:58:17.935]
DBGMISC:      krmkdps: computeRA_allRecords0 [14:58:17.936]
DBGMISC:      krmkdps: computeRA_fullBackups=1 [14:58:17.936]
DBGMISC:      krmkdps: allIncarnations=0 [14:58:17.936]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:17.936]
DBGSQL:          sqlcode=0 [14:58:17.937]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmkomp [14:58:17.937] elapsed time [00:00:00:00.047]
DBGPLSQL:    the compiled command tree is: [14:58:17.937] (krmicomp)
DBGPLSQL:      1 CMD type=allocate id=1 status=NOT STARTED
DBGPLSQL:          1 STEP id=1 status=NOT STARTED chid=ORA_DISK_1
DBGPLSQL:              1 TEXTNOD = -- devalloc
DBGPLSQL:              2 TEXTNOD = declare
DBGPLSQL:              3 TEXTNOD =   devtype      varchar2(255);
DBGPLSQL:              4 TEXTNOD =   chid         varchar2(255);
DBGPLSQL:              5 TEXTNOD =   debug        number := null;
DBGPLSQL:              6 TEXTNOD =   options      number := null;
DBGPLSQL:              7 TEXTNOD =   node         varchar2(255);
DBGPLSQL:              8 TEXTNOD =   maxsize      number;
DBGPLSQL:              9 TEXTNOD =   kbytes       number := null;
DBGPLSQL:             10 TEXTNOD =   parallel     binary_integer := null;
DBGPLSQL:             11 TEXTNOD =   readrate     number := null;
DBGPLSQL:             12 TEXTNOD =   rate         number := null;
DBGPLSQL:             13 TEXTNOD =   sendcmd      varchar2(256);
DBGPLSQL:             14 TEXTNOD =   vendor       varchar2(256);
DBGPLSQL:             15 TEXTNOD =   israc        boolean;
DBGPLSQL:             16 TEXTNOD =   instname     varchar2(17);
DBGPLSQL:             17 TEXTNOD = begin
DBGPLSQL:             18 TEXTNOD =  
DBGPLSQL:             19 PRMVAL =  chid := 'ORA_DISK_1';
DBGPLSQL:             20 TEXTNOD =   if debug is not null then
DBGPLSQL:             21 TEXTNOD =     krmicd.execSql(
DBGPLSQL:             22 TEXTNOD =            'alter session set events ''immediate trace name krb_trac
e level '
DBGPLSQL:             23 TEXTNOD =            ||debug||'''');
DBGPLSQL:             24 TEXTNOD =   end if;
DBGPLSQL:             25 TEXTNOD =   if options is not null then
DBGPLSQL:             26 TEXTNOD =     krmicd.execSql(
DBGPLSQL:             27 TEXTNOD =            'alter session set events ''immediate trace name krb_opti
ons level '
DBGPLSQL:             28 TEXTNOD =            ||options||'''');
DBGPLSQL:             29 TEXTNOD =   end if;
DBGPLSQL:             30 TEXTNOD =   devtype := sys.dbms_backup_restore.deviceAllocate( ident => chid,
DBGPLSQL:             31 TEXTNOD =        node => node,
DBGPLSQL:             32 PRMVAL = type=>null,dupcnt=>1
DBGPLSQL:             33 TEXTNOD =  );
DBGPLSQL:             34 TEXTNOD =   if kbytes is null then
DBGPLSQL:             35 TEXTNOD =      maxsize := sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             36 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_MAXSIZE);
DBGPLSQL:             37 TEXTNOD =   else
DBGPLSQL:             38 TEXTNOD =      maxsize := kbytes;
DBGPLSQL:             39 TEXTNOD =   end if;
DBGPLSQL:             40 TEXTNOD =   if maxsize > 0 then
DBGPLSQL:             41 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             42 TEXTNOD =        (sys.dbms_backup_restore.kbytes, maxsize);
DBGPLSQL:             43 TEXTNOD =   end if;
DBGPLSQL:             44 TEXTNOD =   krmicd.setChannelInfo
DBGPLSQL:             45 TEXTNOD =     (devtype,
DBGPLSQL:             46 TEXTNOD =      node,
DBGPLSQL:             47 TEXTNOD =      maxsize,
DBGPLSQL:             48 TEXTNOD =      sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             49 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_PROXY),
DBGPLSQL:             50 TEXTNOD =      sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             51 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_MAXPROXY));
DBGPLSQL:             52 TEXTNOD =   if parallel is not null then
DBGPLSQL:             53 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             54 TEXTNOD =        (sys.dbms_backup_restore.parallel, parallel);
DBGPLSQL:             55 TEXTNOD =   end if;
DBGPLSQL:             56 TEXTNOD =   if readrate is not null then
DBGPLSQL:             57 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             58 TEXTNOD =        (sys.dbms_backup_restore.readrate, readrate);
DBGPLSQL:             59 TEXTNOD =   end if;
DBGPLSQL:             60 TEXTNOD =   if rate is not null then
DBGPLSQL:             61 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             62 TEXTNOD =        (sys.dbms_backup_restore.max_read_kbytes, rate);
DBGPLSQL:             63 TEXTNOD =   end if;
DBGPLSQL:             64 TEXTNOD =   if sendcmd is not null then
DBGPLSQL:             65 TEXTNOD =      sys.dbms_backup_restore.devicecommand(sendcmd, NULL);
DBGPLSQL:             66 TEXTNOD =   end if;
DBGPLSQL:             67 TEXTNOD =   krmicd.writeMsg(8030, chid);
DBGPLSQL:             68 TEXTNOD =   krmicd.getInstance(instname, israc);
DBGPLSQL:             69 TEXTNOD =   if (israc) then
DBGPLSQL:             70 TEXTNOD =      krmicd.writeMsg(8605, chid, to_char(krmicd.getSid),
DBGPLSQL:             71 TEXTNOD =                      to_char(instname), devtype);
DBGPLSQL:             72 TEXTNOD =   else
DBGPLSQL:             73 TEXTNOD =      krmicd.writeMsg(8500, chid, to_char(krmicd.getSid), devtype);
DBGPLSQL:             74 TEXTNOD =   end if;
DBGPLSQL:             75 TEXTNOD =   vendor := sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             76 TEXTNOD =     (sys.dbms_backup_restore.DEVICEQUERY_VENDOR);
DBGPLSQL:             77 TEXTNOD =   if vendor is not null then
DBGPLSQL:             78 TEXTNOD =      krmicd.writemsg(8526, chid, vendor);
DBGPLSQL:             79 TEXTNOD =   end if;
DBGPLSQL:             80 TEXTNOD = end;
DBGMISC:     executing command allocate [14:58:17.946]
DBGRPC:      krmxpoq: xc=233687544, action="0000001 FINISHED70", col_l=18, ind=0, sid=538
DBGRPC:      krmxr: xc=233687544 chid=default rpc count=1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_1
DBGMISC:      ENTERED krmksimronly [14:58:17.983]
DBGMISC:      EXITED krmksimronly [14:58:17.984] elapsed time [00:00:00:00.000]
DBGANY:       KRMSVCON: mid is 0 [14:58:17.987]
DBGRPC:       krmxcc: xc=233700544
DBGMISC:      krmqopen: opening new channel context for channel ORA_DISK_1, instid 1 [14:58:17.992]
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_1
DBGRPC:       krmqgns: channel ORA_DISK_1 assigned step 1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      krmxcis: xc=233700544 chid=ORA_DISK_1 calling pcicmp
DBGRPC:      krmxr: xc=233700544 chid=ORA_DISK_1 calling peicnt
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEALLOCATE
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=1
DBGRPC:      krmxrpc: xc=233700544 RPC #1 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=2
DBGRPC:      krmxrpc: xc=233700544 RPC #2 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=3
DBGRPC:      krmxrpc: xc=233700544 RPC #3 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=4
DBGRPC:      krmxrpc: xc=233700544 RPC #4 completed immediately
DBGMISC:     ENTERED krmzlog [14:58:18.016]
RMAN-08030: allocated channel: ORA_DISK_1

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.016]
DBGSQL:          sqlcode=0 [14:58:18.017]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmzlog [14:58:18.017] elapsed time [00:00:00:00.001]
DBGMISC:     ENTERED krmzlog [14:58:18.022]
RMAN-08500: channel ORA_DISK_1: sid=535 devtype=DISK

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.022]
DBGSQL:          sqlcode=0 [14:58:18.022]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmzlog [14:58:18.023] elapsed time [00:00:00:00.001]
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=5
DBGRPC:      krmxrpc: xc=233700544 RPC #5 completed immediately
DBGRPC:      krmxr: xc=233700544 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_1
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: channel ORA_DISK_1 finished step 1 (krmqgns)
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGMISC:     Finished allocate at 17-FEB-14 [14:58:18.025]
DBGMISC:    EXITED krmice [14:58:18.208] elapsed time [00:00:00:00.318]

DBGMISC:    Node # 1 [14:58:18.208]
DBGMISC:    allocate
DBGMISC:      1 CHID = ORA_DISK_2
DBGMISC:      2 CHDISK
DBGMISC:    ENTERED krmice [14:58:18.208]
DBGMISC:     command to be compiled and executed is: allocate  [14:58:18.208] (krmice)
DBGMISC:     command after this command is: NONE  [14:58:18.208] (krmice)
DBGMISC:     current incarnation does not matter for allocate [14:58:18.208] (krmice)
DBGMISC:     ENTERED krmkomp [14:58:18.208]
DBGMISC:      Name translation defaults to catalog - 2 [14:58:18.208] (krmkomp)
DBGMISC:      ENTERED krmknmtr [14:58:18.208]

DBGSQL:        EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into
:b1,:b2  from v$instance  [14:58:18.208]
DBGSQL:           sqlcode=0 [14:58:18.208]
DBGSQL:              :b1 = 0
DBGSQL:              :b2 = 0

DBGSQL:        EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [1
4:58:18.209]
DBGSQL:           sqlcode=0 [14:58:18.219]
DBGSQL:              :b1 = "10.2.0.5.0"

DBGSQL:        EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varch
ar2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt
 , '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else
dot3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1
 ) , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( subs
tr ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end
 ; [14:58:18.219]
DBGSQL:           sqlcode=0 [14:58:18.220]
DBGSQL:              :b1 = "10.2.0.5.0"
DBGSQL:              :b2 = 100200
DBGMISC:       krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:18.220]

DBGSQL:        EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) i
nto :b1  from v$database  [14:58:18.220]
DBGSQL:           sqlcode=0 [14:58:18.221]
DBGSQL:              :b1 = 0

DBGSQL:        EXEC SQL AT TARGET rcvman . getAlBackup ; :listAlCopy := dbms_rcvman . listAlCopy ; :lis
tBSet := dbms_rcvman . listBSet ; :getAllBSet := dbms_rcvman . getAllBSet ; :listAlProxy := dbms_rcvman
 . listAlProxy ; :getRangeAlBackup := dbms_rcvman . getRangeAlBackup ; :unknownCmd := dbms_rcvman . unk
nownCmd_t ; :recoverCmd := dbms_rcvman . recoverCmd_t ; :rcvCopyCmd := dbms_rcvman . rcvCopyCmd_t ; :re
storeCmd := dbms_rcvman . restoreCmd_t ; end ; [14:58:18.221]
DBGSQL:           sqlcode=0 [14:58:18.222]
DBGSQL:              :b1 = 0
DBGSQL:              :b2 = 0
DBGSQL:              :b3 = 2
DBGSQL:              :b4 = 1
DBGSQL:              :b5 = 3
DBGSQL:              :b6 = 4
DBGSQL:              :b7 = 1
DBGSQL:              :b8 = 2
DBGSQL:              :b9 = 4
DBGSQL:              :b10 = 8
DBGSQL:              :b11 = 16
DBGSQL:              :b12 = 1
DBGSQL:              :b13 = 2
DBGSQL:              :b14 = 4
DBGSQL:              :b15 = 1
DBGSQL:              :b16 = 2
DBGSQL:              :b17 = 1
DBGSQL:              :b18 = 2
DBGSQL:              :b19 = 4
DBGSQL:              :b20 = 8
DBGSQL:              :b21 = 512
DBGSQL:              :b22 = 16
DBGSQL:              :b23 = 1
DBGSQL:              :b24 = 2
DBGSQL:              :b25 = 4
DBGSQL:              :b26 = 8
DBGSQL:              :b27 = 32
DBGSQL:              :b28 = 16
DBGSQL:              :b29 = 128
DBGSQL:              :b30 = 0
DBGSQL:              :b31 = 1
DBGSQL:              :b32 = 2
DBGSQL:              :b33 = 3
DBGSQL:              :b34 = 14
DBGSQL:              :b35 = 4
DBGSQL:              :b36 = 5
DBGSQL:              :b37 = 6
DBGSQL:              :b38 = 15
DBGSQL:              :b39 = 7
DBGSQL:              :b40 = 8
DBGSQL:              :b41 = 9
DBGSQL:              :b42 = 10
DBGSQL:              :b43 = 11
DBGSQL:              :b44 = 12
DBGSQL:              :b45 = 13
DBGSQL:              :b46 = 16
DBGSQL:              :b47 = 17
DBGSQL:              :b48 = 18
DBGSQL:              :b49 = 0
DBGSQL:              :b50 = 1
DBGSQL:              :b51 = 2
DBGSQL:              :b52 = 4
     DBGRCVMAN: resetAll
     DBGRCVMAN: setRAflags kindMask=255 containerMask=15 actionMask=63
     DBGRCVMAN: ENTERING setComputeRecoveryActionMasks
     DBGRCVMAN: EXITING setComputeRecoveryActionMasks
     DBGRCVMAN: allIncarnations is set to FALSE
     DBGRCVMAN: *****BsRecCache Statistics*****
     DBGRCVMAN: Cache size=0 hit=0
     DBGRCVMAN: rcvRecBackupAge= 0
     DBGRCVMAN: thisBackupAge= 0
     DBGRCVMAN: ENTERING setRedoLogDeletionPolicy
     DBGRCVMAN:    setRedoLogDeletionPolicy with policy = TO NONE
     DBGRCVMAN:    setRedoLogDeletionPolicy with alldest = 0
     DBGRCVMAN:  ENTERING validateStandbyConfig1
     DBGRCVMAN: policy  = TO NONE
     DBGRCVMAN: alldest = 0
     DBGRCVMAN:  EXITING validateStandbyConfig1 with target   = NULLwith status   = 1
     DBGRCVMAN: EXITING setRedoLogDeletionPolicy with policy = TO NONE with target = NULL with bind  =
MANDATORY
DBGMISC:       ENTERED krmknmtr [14:58:18.227]
DBGMISC:       EXITED krmknmtr with status CHID [14:58:18.228] elapsed time [00:00:00:00.000]
DBGMISC:       krmknmtr:  the parse tree after name translation is: [14:58:18.228]
DBGMISC:      EXITED krmknmtr with status allocate [14:58:18.228] elapsed time [00:00:00:00.019]
DBGMISC:      krmkdps: this_reset_scn=21559129 [14:58:18.228]
DBGMISC:      krmkdps: this_reset_time=18-OCT-13 [14:58:18.228]
DBGMISC:      krmkdps: untilSCN= [14:58:18.229]
DBGMISC:      krmkdps: untilTime= [14:58:18.229]
DBGMISC:      krmkdps: getRA_completedAfter= [14:58:18.229]
DBGMISC:      krmkdps: getRA_completedBefore= [14:58:18.229]
DBGMISC:      krmkdps: getRA_likePattern= [14:58:18.229]
DBGMISC:      krmkdps: getRA_containerMask=15 [14:58:18.230]
DBGMISC:      krmkdps: getRA_actionMask=63 [14:58:18.230]
DBGMISC:      krmkdps: computeRA_allRecords0 [14:58:18.230]
DBGMISC:      krmkdps: computeRA_fullBackups=1 [14:58:18.230]
DBGMISC:      krmkdps: allIncarnations=0 [14:58:18.231]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.231]
DBGSQL:          sqlcode=0 [14:58:18.231]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmkomp [14:58:18.232] elapsed time [00:00:00:00.023]
DBGPLSQL:    the compiled command tree is: [14:58:18.232] (krmicomp)
DBGPLSQL:      1 CMD type=allocate id=1 status=NOT STARTED
DBGPLSQL:          1 STEP id=1 status=NOT STARTED chid=ORA_DISK_2
DBGPLSQL:              1 TEXTNOD = -- devalloc
DBGPLSQL:              2 TEXTNOD = declare
DBGPLSQL:              3 TEXTNOD =   devtype      varchar2(255);
DBGPLSQL:              4 TEXTNOD =   chid         varchar2(255);
DBGPLSQL:              5 TEXTNOD =   debug        number := null;
DBGPLSQL:              6 TEXTNOD =   options      number := null;
DBGPLSQL:              7 TEXTNOD =   node         varchar2(255);
DBGPLSQL:              8 TEXTNOD =   maxsize      number;
DBGPLSQL:              9 TEXTNOD =   kbytes       number := null;
DBGPLSQL:             10 TEXTNOD =   parallel     binary_integer := null;
DBGPLSQL:             11 TEXTNOD =   readrate     number := null;
DBGPLSQL:             12 TEXTNOD =   rate         number := null;
DBGPLSQL:             13 TEXTNOD =   sendcmd      varchar2(256);
DBGPLSQL:             14 TEXTNOD =   vendor       varchar2(256);
DBGPLSQL:             15 TEXTNOD =   israc        boolean;
DBGPLSQL:             16 TEXTNOD =   instname     varchar2(17);
DBGPLSQL:             17 TEXTNOD = begin
DBGPLSQL:             18 TEXTNOD =  
DBGPLSQL:             19 PRMVAL =  chid := 'ORA_DISK_2';
DBGPLSQL:             20 TEXTNOD =   if debug is not null then
DBGPLSQL:             21 TEXTNOD =     krmicd.execSql(
DBGPLSQL:             22 TEXTNOD =            'alter session set events ''immediate trace name krb_trac
e level '
DBGPLSQL:             23 TEXTNOD =            ||debug||'''');
DBGPLSQL:             24 TEXTNOD =   end if;
DBGPLSQL:             25 TEXTNOD =   if options is not null then
DBGPLSQL:             26 TEXTNOD =     krmicd.execSql(
DBGPLSQL:             27 TEXTNOD =            'alter session set events ''immediate trace name krb_opti
ons level '
DBGPLSQL:             28 TEXTNOD =            ||options||'''');
DBGPLSQL:             29 TEXTNOD =   end if;
DBGPLSQL:             30 TEXTNOD =   devtype := sys.dbms_backup_restore.deviceAllocate( ident => chid,
DBGPLSQL:             31 TEXTNOD =        node => node,
DBGPLSQL:             32 PRMVAL = type=>null,dupcnt=>1
DBGPLSQL:             33 TEXTNOD =  );
DBGPLSQL:             34 TEXTNOD =   if kbytes is null then
DBGPLSQL:             35 TEXTNOD =      maxsize := sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             36 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_MAXSIZE);
DBGPLSQL:             37 TEXTNOD =   else
DBGPLSQL:             38 TEXTNOD =      maxsize := kbytes;
DBGPLSQL:             39 TEXTNOD =   end if;
DBGPLSQL:             40 TEXTNOD =   if maxsize > 0 then
DBGPLSQL:             41 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             42 TEXTNOD =        (sys.dbms_backup_restore.kbytes, maxsize);
DBGPLSQL:             43 TEXTNOD =   end if;
DBGPLSQL:             44 TEXTNOD =   krmicd.setChannelInfo
DBGPLSQL:             45 TEXTNOD =     (devtype,
DBGPLSQL:             46 TEXTNOD =      node,
DBGPLSQL:             47 TEXTNOD =      maxsize,
DBGPLSQL:             48 TEXTNOD =      sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             49 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_PROXY),
DBGPLSQL:             50 TEXTNOD =      sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             51 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_MAXPROXY));
DBGPLSQL:             52 TEXTNOD =   if parallel is not null then
DBGPLSQL:             53 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             54 TEXTNOD =        (sys.dbms_backup_restore.parallel, parallel);
DBGPLSQL:             55 TEXTNOD =   end if;
DBGPLSQL:             56 TEXTNOD =   if readrate is not null then
DBGPLSQL:             57 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             58 TEXTNOD =        (sys.dbms_backup_restore.readrate, readrate);
DBGPLSQL:             59 TEXTNOD =   end if;
DBGPLSQL:             60 TEXTNOD =   if rate is not null then
DBGPLSQL:             61 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             62 TEXTNOD =        (sys.dbms_backup_restore.max_read_kbytes, rate);
DBGPLSQL:             63 TEXTNOD =   end if;
DBGPLSQL:             64 TEXTNOD =   if sendcmd is not null then
DBGPLSQL:             65 TEXTNOD =      sys.dbms_backup_restore.devicecommand(sendcmd, NULL);
DBGPLSQL:             66 TEXTNOD =   end if;
DBGPLSQL:             67 TEXTNOD =   krmicd.writeMsg(8030, chid);
DBGPLSQL:             68 TEXTNOD =   krmicd.getInstance(instname, israc);
DBGPLSQL:             69 TEXTNOD =   if (israc) then
DBGPLSQL:             70 TEXTNOD =      krmicd.writeMsg(8605, chid, to_char(krmicd.getSid),
DBGPLSQL:             71 TEXTNOD =                      to_char(instname), devtype);
DBGPLSQL:             72 TEXTNOD =   else
DBGPLSQL:             73 TEXTNOD =      krmicd.writeMsg(8500, chid, to_char(krmicd.getSid), devtype);
DBGPLSQL:             74 TEXTNOD =   end if;
DBGPLSQL:             75 TEXTNOD =   vendor := sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             76 TEXTNOD =     (sys.dbms_backup_restore.DEVICEQUERY_VENDOR);
DBGPLSQL:             77 TEXTNOD =   if vendor is not null then
DBGPLSQL:             78 TEXTNOD =      krmicd.writemsg(8526, chid, vendor);
DBGPLSQL:             79 TEXTNOD =   end if;
DBGPLSQL:             80 TEXTNOD = end;
DBGMISC:     executing command allocate [14:58:18.239]
DBGRPC:      krmxpoq: xc=233687544, action="0000001 FINISHED70", col_l=18, ind=0, sid=538
DBGRPC:      krmxr: xc=233687544 chid=default rpc count=1
DBGRPC:      krmxpoq: xc=233700544, action="0000005 FINISHED3", col_l=17, ind=0, sid=535
DBGRPC:      krmxr: xc=233700544 chid=ORA_DISK_1 rpc count=5
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_2
DBGMISC:      ENTERED krmksimronly [14:58:18.274]
DBGMISC:      EXITED krmksimronly [14:58:18.275] elapsed time [00:00:00:00.000]
DBGANY:       KRMSVCON: mid is 0 [14:58:18.277]
DBGRPC:       krmxcc: xc=233702928
DBGMISC:      krmqopen: opening new channel context for channel ORA_DISK_2, instid 1 [14:58:18.281]
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_2
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_2
DBGRPC:       krmqgns: channel ORA_DISK_2 assigned step 1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      krmxcis: xc=233702928 chid=ORA_DISK_2 calling pcicmp
DBGRPC:      krmxr: xc=233702928 chid=ORA_DISK_2 calling peicnt
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEALLOCATE
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=1
DBGRPC:      krmxrpc: xc=233702928 RPC #1 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=2
DBGRPC:      krmxrpc: xc=233702928 RPC #2 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=3
DBGRPC:      krmxrpc: xc=233702928 RPC #3 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=4
DBGRPC:      krmxrpc: xc=233702928 RPC #4 completed immediately
DBGMISC:     ENTERED krmzlog [14:58:18.304]
RMAN-08030: allocated channel: ORA_DISK_2

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.304]
DBGSQL:          sqlcode=0 [14:58:18.305]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmzlog [14:58:18.305] elapsed time [00:00:00:00.001]
DBGMISC:     ENTERED krmzlog [14:58:18.306]
RMAN-08500: channel ORA_DISK_2: sid=534 devtype=DISK

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.307]
DBGSQL:          sqlcode=0 [14:58:18.307]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmzlog [14:58:18.307] elapsed time [00:00:00:00.000]
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=5
DBGRPC:      krmxrpc: xc=233702928 RPC #5 completed immediately
DBGRPC:      krmxr: xc=233702928 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_2
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_2
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: channel ORA_DISK_2 finished step 1 (krmqgns)
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGMISC:     Finished allocate at 17-FEB-14 [14:58:18.309]
DBGMISC:    EXITED krmice [14:58:18.485] elapsed time [00:00:00:00.277]

DBGMISC:    Node # 1 [14:58:18.485]
DBGMISC:    allocate
DBGMISC:      1 CHID = ORA_DISK_3
DBGMISC:      2 CHDISK
DBGMISC:    ENTERED krmice [14:58:18.486]
DBGMISC:     command to be compiled and executed is: allocate  [14:58:18.486] (krmice)
DBGMISC:     command after this command is: NONE  [14:58:18.486] (krmice)
DBGMISC:     current incarnation does not matter for allocate [14:58:18.486] (krmice)
DBGMISC:     ENTERED krmkomp [14:58:18.486]
DBGMISC:      Name translation defaults to catalog - 2 [14:58:18.486] (krmkomp)
DBGMISC:      ENTERED krmknmtr [14:58:18.486]

DBGSQL:        EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into
:b1,:b2  from v$instance  [14:58:18.486]
DBGSQL:           sqlcode=0 [14:58:18.486]
DBGSQL:              :b1 = 0
DBGSQL:              :b2 = 0

DBGSQL:        EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [1
4:58:18.487]
DBGSQL:           sqlcode=0 [14:58:18.497]
DBGSQL:              :b1 = "10.2.0.5.0"

DBGSQL:        EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varch
ar2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt
 , '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else
dot3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1
 ) , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( subs
tr ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end
 ; [14:58:18.497]
DBGSQL:           sqlcode=0 [14:58:18.498]
DBGSQL:              :b1 = "10.2.0.5.0"
DBGSQL:              :b2 = 100200
DBGMISC:       krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:18.498]

DBGSQL:        EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) i
nto :b1  from v$database  [14:58:18.498]
DBGSQL:           sqlcode=0 [14:58:18.498]
DBGSQL:              :b1 = 0

DBGSQL:        EXEC SQL AT TARGET rcvman . getAlBackup ; :listAlCopy := dbms_rcvman . listAlCopy ; :lis
tBSet := dbms_rcvman . listBSet ; :getAllBSet := dbms_rcvman . getAllBSet ; :listAlProxy := dbms_rcvman
 . listAlProxy ; :getRangeAlBackup := dbms_rcvman . getRangeAlBackup ; :unknownCmd := dbms_rcvman . unk
nownCmd_t ; :recoverCmd := dbms_rcvman . recoverCmd_t ; :rcvCopyCmd := dbms_rcvman . rcvCopyCmd_t ; :re
storeCmd := dbms_rcvman . restoreCmd_t ; end ; [14:58:18.499]
DBGSQL:           sqlcode=0 [14:58:18.499]
DBGSQL:              :b1 = 0
DBGSQL:              :b2 = 0
DBGSQL:              :b3 = 2
DBGSQL:              :b4 = 1
DBGSQL:              :b5 = 3
DBGSQL:              :b6 = 4
DBGSQL:              :b7 = 1
DBGSQL:              :b8 = 2
DBGSQL:              :b9 = 4
DBGSQL:              :b10 = 8
DBGSQL:              :b11 = 16
DBGSQL:              :b12 = 1
DBGSQL:              :b13 = 2
DBGSQL:              :b14 = 4
DBGSQL:              :b15 = 1
DBGSQL:              :b16 = 2
DBGSQL:              :b17 = 1
DBGSQL:              :b18 = 2
DBGSQL:              :b19 = 4
DBGSQL:              :b20 = 8
DBGSQL:              :b21 = 512
DBGSQL:              :b22 = 16
DBGSQL:              :b23 = 1
DBGSQL:              :b24 = 2
DBGSQL:              :b25 = 4
DBGSQL:              :b26 = 8
DBGSQL:              :b27 = 32
DBGSQL:              :b28 = 16
DBGSQL:              :b29 = 128
DBGSQL:              :b30 = 0
DBGSQL:              :b31 = 1
DBGSQL:              :b32 = 2
DBGSQL:              :b33 = 3
DBGSQL:              :b34 = 14
DBGSQL:              :b35 = 4
DBGSQL:              :b36 = 5
DBGSQL:              :b37 = 6
DBGSQL:              :b38 = 15
DBGSQL:              :b39 = 7
DBGSQL:              :b40 = 8
DBGSQL:              :b41 = 9
DBGSQL:              :b42 = 10
DBGSQL:              :b43 = 11
DBGSQL:              :b44 = 12
DBGSQL:              :b45 = 13
DBGSQL:              :b46 = 16
DBGSQL:              :b47 = 17
DBGSQL:              :b48 = 18
DBGSQL:              :b49 = 0
DBGSQL:              :b50 = 1
DBGSQL:              :b51 = 2
DBGSQL:              :b52 = 4
     DBGRCVMAN: resetAll
     DBGRCVMAN: setRAflags kindMask=255 containerMask=15 actionMask=63
     DBGRCVMAN: ENTERING setComputeRecoveryActionMasks
     DBGRCVMAN: EXITING setComputeRecoveryActionMasks
     DBGRCVMAN: allIncarnations is set to FALSE
     DBGRCVMAN: *****BsRecCache Statistics*****
     DBGRCVMAN: Cache size=0 hit=0
     DBGRCVMAN: rcvRecBackupAge= 0
     DBGRCVMAN: thisBackupAge= 0
     DBGRCVMAN: ENTERING setRedoLogDeletionPolicy
     DBGRCVMAN:    setRedoLogDeletionPolicy with policy = TO NONE
     DBGRCVMAN:    setRedoLogDeletionPolicy with alldest = 0
     DBGRCVMAN:  ENTERING validateStandbyConfig1
     DBGRCVMAN: policy  = TO NONE
     DBGRCVMAN: alldest = 0
     DBGRCVMAN:  EXITING validateStandbyConfig1 with target   = NULLwith status   = 1
     DBGRCVMAN: EXITING setRedoLogDeletionPolicy with policy = TO NONE with target = NULL with bind  =
MANDATORY
DBGMISC:       ENTERED krmknmtr [14:58:18.505]
DBGMISC:       EXITED krmknmtr with status CHID [14:58:18.505] elapsed time [00:00:00:00.000]
DBGMISC:       krmknmtr:  the parse tree after name translation is: [14:58:18.505]
DBGMISC:      EXITED krmknmtr with status allocate [14:58:18.505] elapsed time [00:00:00:00.019]
DBGMISC:      krmkdps: this_reset_scn=21559129 [14:58:18.505]
DBGMISC:      krmkdps: this_reset_time=18-OCT-13 [14:58:18.505]
DBGMISC:      krmkdps: untilSCN= [14:58:18.506]
DBGMISC:      krmkdps: untilTime= [14:58:18.506]
DBGMISC:      krmkdps: getRA_completedAfter= [14:58:18.506]
DBGMISC:      krmkdps: getRA_completedBefore= [14:58:18.506]
DBGMISC:      krmkdps: getRA_likePattern= [14:58:18.507]
DBGMISC:      krmkdps: getRA_containerMask=15 [14:58:18.507]
DBGMISC:      krmkdps: getRA_actionMask=63 [14:58:18.507]
DBGMISC:      krmkdps: computeRA_allRecords0 [14:58:18.507]
DBGMISC:      krmkdps: computeRA_fullBackups=1 [14:58:18.508]
DBGMISC:      krmkdps: allIncarnations=0 [14:58:18.508]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.508]
DBGSQL:          sqlcode=0 [14:58:18.509]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmkomp [14:58:18.509] elapsed time [00:00:00:00.023]
DBGPLSQL:    the compiled command tree is: [14:58:18.509] (krmicomp)
DBGPLSQL:      1 CMD type=allocate id=1 status=NOT STARTED
DBGPLSQL:          1 STEP id=1 status=NOT STARTED chid=ORA_DISK_3
DBGPLSQL:              1 TEXTNOD = -- devalloc
DBGPLSQL:              2 TEXTNOD = declare
DBGPLSQL:              3 TEXTNOD =   devtype      varchar2(255);
DBGPLSQL:              4 TEXTNOD =   chid         varchar2(255);
DBGPLSQL:              5 TEXTNOD =   debug        number := null;
DBGPLSQL:              6 TEXTNOD =   options      number := null;
DBGPLSQL:              7 TEXTNOD =   node         varchar2(255);
DBGPLSQL:              8 TEXTNOD =   maxsize      number;
DBGPLSQL:              9 TEXTNOD =   kbytes       number := null;
DBGPLSQL:             10 TEXTNOD =   parallel     binary_integer := null;
DBGPLSQL:             11 TEXTNOD =   readrate     number := null;
DBGPLSQL:             12 TEXTNOD =   rate         number := null;
DBGPLSQL:             13 TEXTNOD =   sendcmd      varchar2(256);
DBGPLSQL:             14 TEXTNOD =   vendor       varchar2(256);
DBGPLSQL:             15 TEXTNOD =   israc        boolean;
DBGPLSQL:             16 TEXTNOD =   instname     varchar2(17);
DBGPLSQL:             17 TEXTNOD = begin
DBGPLSQL:             18 TEXTNOD =  
DBGPLSQL:             19 PRMVAL =  chid := 'ORA_DISK_3';
DBGPLSQL:             20 TEXTNOD =   if debug is not null then
DBGPLSQL:             21 TEXTNOD =     krmicd.execSql(
DBGPLSQL:             22 TEXTNOD =            'alter session set events ''immediate trace name krb_trac
e level '
DBGPLSQL:             23 TEXTNOD =            ||debug||'''');
DBGPLSQL:             24 TEXTNOD =   end if;
DBGPLSQL:             25 TEXTNOD =   if options is not null then
DBGPLSQL:             26 TEXTNOD =     krmicd.execSql(
DBGPLSQL:             27 TEXTNOD =            'alter session set events ''immediate trace name krb_opti
ons level '
DBGPLSQL:             28 TEXTNOD =            ||options||'''');
DBGPLSQL:             29 TEXTNOD =   end if;
DBGPLSQL:             30 TEXTNOD =   devtype := sys.dbms_backup_restore.deviceAllocate( ident => chid,
DBGPLSQL:             31 TEXTNOD =        node => node,
DBGPLSQL:             32 PRMVAL = type=>null,dupcnt=>1
DBGPLSQL:             33 TEXTNOD =  );
DBGPLSQL:             34 TEXTNOD =   if kbytes is null then
DBGPLSQL:             35 TEXTNOD =      maxsize := sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             36 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_MAXSIZE);
DBGPLSQL:             37 TEXTNOD =   else
DBGPLSQL:             38 TEXTNOD =      maxsize := kbytes;
DBGPLSQL:             39 TEXTNOD =   end if;
DBGPLSQL:             40 TEXTNOD =   if maxsize > 0 then
DBGPLSQL:             41 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             42 TEXTNOD =        (sys.dbms_backup_restore.kbytes, maxsize);
DBGPLSQL:             43 TEXTNOD =   end if;
DBGPLSQL:             44 TEXTNOD =   krmicd.setChannelInfo
DBGPLSQL:             45 TEXTNOD =     (devtype,
DBGPLSQL:             46 TEXTNOD =      node,
DBGPLSQL:             47 TEXTNOD =      maxsize,
DBGPLSQL:             48 TEXTNOD =      sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             49 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_PROXY),
DBGPLSQL:             50 TEXTNOD =      sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             51 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_MAXPROXY));
DBGPLSQL:             52 TEXTNOD =   if parallel is not null then
DBGPLSQL:             53 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             54 TEXTNOD =        (sys.dbms_backup_restore.parallel, parallel);
DBGPLSQL:             55 TEXTNOD =   end if;
DBGPLSQL:             56 TEXTNOD =   if readrate is not null then
DBGPLSQL:             57 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             58 TEXTNOD =        (sys.dbms_backup_restore.readrate, readrate);
DBGPLSQL:             59 TEXTNOD =   end if;
DBGPLSQL:             60 TEXTNOD =   if rate is not null then
DBGPLSQL:             61 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             62 TEXTNOD =        (sys.dbms_backup_restore.max_read_kbytes, rate);
DBGPLSQL:             63 TEXTNOD =   end if;
DBGPLSQL:             64 TEXTNOD =   if sendcmd is not null then
DBGPLSQL:             65 TEXTNOD =      sys.dbms_backup_restore.devicecommand(sendcmd, NULL);
DBGPLSQL:             66 TEXTNOD =   end if;
DBGPLSQL:             67 TEXTNOD =   krmicd.writeMsg(8030, chid);
DBGPLSQL:             68 TEXTNOD =   krmicd.getInstance(instname, israc);
DBGPLSQL:             69 TEXTNOD =   if (israc) then
DBGPLSQL:             70 TEXTNOD =      krmicd.writeMsg(8605, chid, to_char(krmicd.getSid),
DBGPLSQL:             71 TEXTNOD =                      to_char(instname), devtype);
DBGPLSQL:             72 TEXTNOD =   else
DBGPLSQL:             73 TEXTNOD =      krmicd.writeMsg(8500, chid, to_char(krmicd.getSid), devtype);
DBGPLSQL:             74 TEXTNOD =   end if;
DBGPLSQL:             75 TEXTNOD =   vendor := sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             76 TEXTNOD =     (sys.dbms_backup_restore.DEVICEQUERY_VENDOR);
DBGPLSQL:             77 TEXTNOD =   if vendor is not null then
DBGPLSQL:             78 TEXTNOD =      krmicd.writemsg(8526, chid, vendor);
DBGPLSQL:             79 TEXTNOD =   end if;
DBGPLSQL:             80 TEXTNOD = end;
DBGMISC:     executing command allocate [14:58:18.517]
DBGRPC:      krmxpoq: xc=233687544, action="0000001 FINISHED70", col_l=18, ind=0, sid=538
DBGRPC:      krmxr: xc=233687544 chid=default rpc count=1
DBGRPC:      krmxpoq: xc=233700544, action="0000005 FINISHED3", col_l=17, ind=0, sid=535
DBGRPC:      krmxr: xc=233700544 chid=ORA_DISK_1 rpc count=5
DBGRPC:      krmxpoq: xc=233702928, action="0000005 FINISHED3", col_l=17, ind=0, sid=534
DBGRPC:      krmxr: xc=233702928 chid=ORA_DISK_2 rpc count=5
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_3
DBGMISC:      ENTERED krmksimronly [14:58:18.552]
DBGMISC:      EXITED krmksimronly [14:58:18.552] elapsed time [00:00:00:00.000]
DBGANY:       KRMSVCON: mid is 0 [14:58:18.555]
DBGRPC:       krmxcc: xc=233705312
DBGMISC:      krmqopen: opening new channel context for channel ORA_DISK_3, instid 1 [14:58:18.558]
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_3
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_3
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_3
DBGRPC:       krmqgns: channel ORA_DISK_3 assigned step 1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      krmxcis: xc=233705312 chid=ORA_DISK_3 calling pcicmp
DBGRPC:      krmxr: xc=233705312 chid=ORA_DISK_3 calling peicnt
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEALLOCATE
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=1
DBGRPC:      krmxrpc: xc=233705312 RPC #1 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=2
DBGRPC:      krmxrpc: xc=233705312 RPC #2 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=3
DBGRPC:      krmxrpc: xc=233705312 RPC #3 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=4
DBGRPC:      krmxrpc: xc=233705312 RPC #4 completed immediately
DBGMISC:     ENTERED krmzlog [14:58:18.582]
RMAN-08030: allocated channel: ORA_DISK_3

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.582]
DBGSQL:          sqlcode=0 [14:58:18.583]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmzlog [14:58:18.584] elapsed time [00:00:00:00.001]
DBGMISC:     ENTERED krmzlog [14:58:18.585]
RMAN-08500: channel ORA_DISK_3: sid=533 devtype=DISK

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.585]
DBGSQL:          sqlcode=0 [14:58:18.586]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmzlog [14:58:18.586] elapsed time [00:00:00:00.000]
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=5
DBGRPC:      krmxrpc: xc=233705312 RPC #5 completed immediately
DBGRPC:      krmxr: xc=233705312 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_3
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_3
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_3
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: channel ORA_DISK_3 finished step 1 (krmqgns)
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGMISC:     Finished allocate at 17-FEB-14 [14:58:18.588]
DBGMISC:    EXITED krmice [14:58:18.765] elapsed time [00:00:00:00.279]

DBGMISC:    Node # 1 [14:58:18.765]
DBGMISC:    allocate
DBGMISC:      1 CHID = ORA_DISK_4
DBGMISC:      2 CHDISK
DBGMISC:    ENTERED krmice [14:58:18.765]
DBGMISC:     command to be compiled and executed is: allocate  [14:58:18.765] (krmice)
DBGMISC:     command after this command is: NONE  [14:58:18.765] (krmice)
DBGMISC:     current incarnation does not matter for allocate [14:58:18.765] (krmice)
DBGMISC:     ENTERED krmkomp [14:58:18.765]
DBGMISC:      Name translation defaults to catalog - 2 [14:58:18.765] (krmkomp)
DBGMISC:      ENTERED krmknmtr [14:58:18.765]

DBGSQL:        EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into
:b1,:b2  from v$instance  [14:58:18.765]
DBGSQL:           sqlcode=0 [14:58:18.766]
DBGSQL:              :b1 = 0
DBGSQL:              :b2 = 0

DBGSQL:        EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [1
4:58:18.766]
DBGSQL:           sqlcode=0 [14:58:18.775]
DBGSQL:              :b1 = "10.2.0.5.0"

DBGSQL:        EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varch
ar2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt
 , '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else
dot3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1
 ) , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( subs
tr ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end
 ; [14:58:18.775]
DBGSQL:           sqlcode=0 [14:58:18.776]
DBGSQL:              :b1 = "10.2.0.5.0"
DBGSQL:              :b2 = 100200
DBGMISC:       krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:18.776]

DBGSQL:        EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) i
nto :b1  from v$database  [14:58:18.776]
DBGSQL:           sqlcode=0 [14:58:18.777]
DBGSQL:              :b1 = 0

DBGSQL:        EXEC SQL AT TARGET rcvman . getAlBackup ; :listAlCopy := dbms_rcvman . listAlCopy ; :lis
tBSet := dbms_rcvman . listBSet ; :getAllBSet := dbms_rcvman . getAllBSet ; :listAlProxy := dbms_rcvman
 . listAlProxy ; :getRangeAlBackup := dbms_rcvman . getRangeAlBackup ; :unknownCmd := dbms_rcvman . unk
nownCmd_t ; :recoverCmd := dbms_rcvman . recoverCmd_t ; :rcvCopyCmd := dbms_rcvman . rcvCopyCmd_t ; :re
storeCmd := dbms_rcvman . restoreCmd_t ; end ; [14:58:18.777]
DBGSQL:           sqlcode=0 [14:58:18.778]
DBGSQL:              :b1 = 0
DBGSQL:              :b2 = 0
DBGSQL:              :b3 = 2
DBGSQL:              :b4 = 1
DBGSQL:              :b5 = 3
DBGSQL:              :b6 = 4
DBGSQL:              :b7 = 1
DBGSQL:              :b8 = 2
DBGSQL:              :b9 = 4
DBGSQL:              :b10 = 8
DBGSQL:              :b11 = 16
DBGSQL:              :b12 = 1
DBGSQL:              :b13 = 2
DBGSQL:              :b14 = 4
DBGSQL:              :b15 = 1
DBGSQL:              :b16 = 2
DBGSQL:              :b17 = 1
DBGSQL:              :b18 = 2
DBGSQL:              :b19 = 4
DBGSQL:              :b20 = 8
DBGSQL:              :b21 = 512
DBGSQL:              :b22 = 16
DBGSQL:              :b23 = 1
DBGSQL:              :b24 = 2
DBGSQL:              :b25 = 4
DBGSQL:              :b26 = 8
DBGSQL:              :b27 = 32
DBGSQL:              :b28 = 16
DBGSQL:              :b29 = 128
DBGSQL:              :b30 = 0
DBGSQL:              :b31 = 1
DBGSQL:              :b32 = 2
DBGSQL:              :b33 = 3
DBGSQL:              :b34 = 14
DBGSQL:              :b35 = 4
DBGSQL:              :b36 = 5
DBGSQL:              :b37 = 6
DBGSQL:              :b38 = 15
DBGSQL:              :b39 = 7
DBGSQL:              :b40 = 8
DBGSQL:              :b41 = 9
DBGSQL:              :b42 = 10
DBGSQL:              :b43 = 11
DBGSQL:              :b44 = 12
DBGSQL:              :b45 = 13
DBGSQL:              :b46 = 16
DBGSQL:              :b47 = 17
DBGSQL:              :b48 = 18
DBGSQL:              :b49 = 0
DBGSQL:              :b50 = 1
DBGSQL:              :b51 = 2
DBGSQL:              :b52 = 4
     DBGRCVMAN: resetAll
     DBGRCVMAN: setRAflags kindMask=255 containerMask=15 actionMask=63
     DBGRCVMAN: ENTERING setComputeRecoveryActionMasks
     DBGRCVMAN: EXITING setComputeRecoveryActionMasks
     DBGRCVMAN: allIncarnations is set to FALSE
     DBGRCVMAN: *****BsRecCache Statistics*****
     DBGRCVMAN: Cache size=0 hit=0
     DBGRCVMAN: rcvRecBackupAge= 0
     DBGRCVMAN: thisBackupAge= 0
     DBGRCVMAN: ENTERING setRedoLogDeletionPolicy
     DBGRCVMAN:    setRedoLogDeletionPolicy with policy = TO NONE
     DBGRCVMAN:    setRedoLogDeletionPolicy with alldest = 0
     DBGRCVMAN:  ENTERING validateStandbyConfig1
     DBGRCVMAN: policy  = TO NONE
     DBGRCVMAN: alldest = 0
     DBGRCVMAN:  EXITING validateStandbyConfig1 with target   = NULLwith status   = 1
     DBGRCVMAN: EXITING setRedoLogDeletionPolicy with policy = TO NONE with target = NULL with bind  =
MANDATORY
DBGMISC:       ENTERED krmknmtr [14:58:18.782]
DBGMISC:       EXITED krmknmtr with status CHID [14:58:18.782] elapsed time [00:00:00:00.000]
DBGMISC:       krmknmtr:  the parse tree after name translation is: [14:58:18.782]
DBGMISC:      EXITED krmknmtr with status allocate [14:58:18.782] elapsed time [00:00:00:00.016]
DBGMISC:      krmkdps: this_reset_scn=21559129 [14:58:18.782]
DBGMISC:      krmkdps: this_reset_time=18-OCT-13 [14:58:18.783]
DBGMISC:      krmkdps: untilSCN= [14:58:18.783]
DBGMISC:      krmkdps: untilTime= [14:58:18.783]
DBGMISC:      krmkdps: getRA_completedAfter= [14:58:18.783]
DBGMISC:      krmkdps: getRA_completedBefore= [14:58:18.784]
DBGMISC:      krmkdps: getRA_likePattern= [14:58:18.784]
DBGMISC:      krmkdps: getRA_containerMask=15 [14:58:18.784]
DBGMISC:      krmkdps: getRA_actionMask=63 [14:58:18.784]
DBGMISC:      krmkdps: computeRA_allRecords0 [14:58:18.785]
DBGMISC:      krmkdps: computeRA_fullBackups=1 [14:58:18.785]
DBGMISC:      krmkdps: allIncarnations=0 [14:58:18.785]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.786]
DBGSQL:          sqlcode=0 [14:58:18.786]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmkomp [14:58:18.786] elapsed time [00:00:00:00.021]
DBGPLSQL:    the compiled command tree is: [14:58:18.787] (krmicomp)
DBGPLSQL:      1 CMD type=allocate id=1 status=NOT STARTED
DBGPLSQL:          1 STEP id=1 status=NOT STARTED chid=ORA_DISK_4
DBGPLSQL:              1 TEXTNOD = -- devalloc
DBGPLSQL:              2 TEXTNOD = declare
DBGPLSQL:              3 TEXTNOD =   devtype      varchar2(255);
DBGPLSQL:              4 TEXTNOD =   chid         varchar2(255);
DBGPLSQL:              5 TEXTNOD =   debug        number := null;
DBGPLSQL:              6 TEXTNOD =   options      number := null;
DBGPLSQL:              7 TEXTNOD =   node         varchar2(255);
DBGPLSQL:              8 TEXTNOD =   maxsize      number;
DBGPLSQL:              9 TEXTNOD =   kbytes       number := null;
DBGPLSQL:             10 TEXTNOD =   parallel     binary_integer := null;
DBGPLSQL:             11 TEXTNOD =   readrate     number := null;
DBGPLSQL:             12 TEXTNOD =   rate         number := null;
DBGPLSQL:             13 TEXTNOD =   sendcmd      varchar2(256);
DBGPLSQL:             14 TEXTNOD =   vendor       varchar2(256);
DBGPLSQL:             15 TEXTNOD =   israc        boolean;
DBGPLSQL:             16 TEXTNOD =   instname     varchar2(17);
DBGPLSQL:             17 TEXTNOD = begin
DBGPLSQL:             18 TEXTNOD =  
DBGPLSQL:             19 PRMVAL =  chid := 'ORA_DISK_4';
DBGPLSQL:             20 TEXTNOD =   if debug is not null then
DBGPLSQL:             21 TEXTNOD =     krmicd.execSql(
DBGPLSQL:             22 TEXTNOD =            'alter session set events ''immediate trace name krb_trac
e level '
DBGPLSQL:             23 TEXTNOD =            ||debug||'''');
DBGPLSQL:             24 TEXTNOD =   end if;
DBGPLSQL:             25 TEXTNOD =   if options is not null then
DBGPLSQL:             26 TEXTNOD =     krmicd.execSql(
DBGPLSQL:             27 TEXTNOD =            'alter session set events ''immediate trace name krb_opti
ons level '
DBGPLSQL:             28 TEXTNOD =            ||options||'''');
DBGPLSQL:             29 TEXTNOD =   end if;
DBGPLSQL:             30 TEXTNOD =   devtype := sys.dbms_backup_restore.deviceAllocate( ident => chid,
DBGPLSQL:             31 TEXTNOD =        node => node,
DBGPLSQL:             32 PRMVAL = type=>null,dupcnt=>1
DBGPLSQL:             33 TEXTNOD =  );
DBGPLSQL:             34 TEXTNOD =   if kbytes is null then
DBGPLSQL:             35 TEXTNOD =      maxsize := sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             36 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_MAXSIZE);
DBGPLSQL:             37 TEXTNOD =   else
DBGPLSQL:             38 TEXTNOD =      maxsize := kbytes;
DBGPLSQL:             39 TEXTNOD =   end if;
DBGPLSQL:             40 TEXTNOD =   if maxsize > 0 then
DBGPLSQL:             41 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             42 TEXTNOD =        (sys.dbms_backup_restore.kbytes, maxsize);
DBGPLSQL:             43 TEXTNOD =   end if;
DBGPLSQL:             44 TEXTNOD =   krmicd.setChannelInfo
DBGPLSQL:             45 TEXTNOD =     (devtype,
DBGPLSQL:             46 TEXTNOD =      node,
DBGPLSQL:             47 TEXTNOD =      maxsize,
DBGPLSQL:             48 TEXTNOD =      sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             49 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_PROXY),
DBGPLSQL:             50 TEXTNOD =      sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             51 TEXTNOD =        (sys.dbms_backup_restore.DEVICEQUERY_MAXPROXY));
DBGPLSQL:             52 TEXTNOD =   if parallel is not null then
DBGPLSQL:             53 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             54 TEXTNOD =        (sys.dbms_backup_restore.parallel, parallel);
DBGPLSQL:             55 TEXTNOD =   end if;
DBGPLSQL:             56 TEXTNOD =   if readrate is not null then
DBGPLSQL:             57 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             58 TEXTNOD =        (sys.dbms_backup_restore.readrate, readrate);
DBGPLSQL:             59 TEXTNOD =   end if;
DBGPLSQL:             60 TEXTNOD =   if rate is not null then
DBGPLSQL:             61 TEXTNOD =      sys.dbms_backup_restore.setlimit
DBGPLSQL:             62 TEXTNOD =        (sys.dbms_backup_restore.max_read_kbytes, rate);
DBGPLSQL:             63 TEXTNOD =   end if;
DBGPLSQL:             64 TEXTNOD =   if sendcmd is not null then
DBGPLSQL:             65 TEXTNOD =      sys.dbms_backup_restore.devicecommand(sendcmd, NULL);
DBGPLSQL:             66 TEXTNOD =   end if;
DBGPLSQL:             67 TEXTNOD =   krmicd.writeMsg(8030, chid);
DBGPLSQL:             68 TEXTNOD =   krmicd.getInstance(instname, israc);
DBGPLSQL:             69 TEXTNOD =   if (israc) then
DBGPLSQL:             70 TEXTNOD =      krmicd.writeMsg(8605, chid, to_char(krmicd.getSid),
DBGPLSQL:             71 TEXTNOD =                      to_char(instname), devtype);
DBGPLSQL:             72 TEXTNOD =   else
DBGPLSQL:             73 TEXTNOD =      krmicd.writeMsg(8500, chid, to_char(krmicd.getSid), devtype);
DBGPLSQL:             74 TEXTNOD =   end if;
DBGPLSQL:             75 TEXTNOD =   vendor := sys.dbms_backup_restore.deviceQuery
DBGPLSQL:             76 TEXTNOD =     (sys.dbms_backup_restore.DEVICEQUERY_VENDOR);
DBGPLSQL:             77 TEXTNOD =   if vendor is not null then
DBGPLSQL:             78 TEXTNOD =      krmicd.writemsg(8526, chid, vendor);
DBGPLSQL:             79 TEXTNOD =   end if;
DBGPLSQL:             80 TEXTNOD = end;
DBGMISC:     executing command allocate [14:58:18.795]
DBGRPC:      krmxpoq: xc=233687544, action="0000001 FINISHED70", col_l=18, ind=0, sid=538
DBGRPC:      krmxr: xc=233687544 chid=default rpc count=1
DBGRPC:      krmxpoq: xc=233700544, action="0000005 FINISHED3", col_l=17, ind=0, sid=535
DBGRPC:      krmxr: xc=233700544 chid=ORA_DISK_1 rpc count=5
DBGRPC:      krmxpoq: xc=233702928, action="0000005 FINISHED3", col_l=17, ind=0, sid=534
DBGRPC:      krmxr: xc=233702928 chid=ORA_DISK_2 rpc count=5
DBGRPC:      krmxpoq: xc=233705312, action="0000005 FINISHED3", col_l=17, ind=0, sid=533
DBGRPC:      krmxr: xc=233705312 chid=ORA_DISK_3 rpc count=5
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_4
DBGMISC:      ENTERED krmksimronly [14:58:18.832]
DBGMISC:      EXITED krmksimronly [14:58:18.832] elapsed time [00:00:00:00.000]
DBGANY:       KRMSVCON: mid is 0 [14:58:18.835]
DBGRPC:       krmxcc: xc=233707696
DBGMISC:      krmqopen: opening new channel context for channel ORA_DISK_4, instid 1 [14:58:18.838]
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_4
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_4
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_4
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=ORA_DISK_4
DBGRPC:       krmqgns: channel ORA_DISK_4 assigned step 1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      krmxcis: xc=233707696 chid=ORA_DISK_4 calling pcicmp
DBGRPC:      krmxr: xc=233707696 chid=ORA_DISK_4 calling peicnt
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEALLOCATE
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=1
DBGRPC:      krmxrpc: xc=233707696 RPC #1 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=2
DBGRPC:      krmxrpc: xc=233707696 RPC #2 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=3
DBGRPC:      krmxrpc: xc=233707696 RPC #3 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=4
DBGRPC:      krmxrpc: xc=233707696 RPC #4 completed immediately
DBGMISC:     ENTERED krmzlog [14:58:18.863]
RMAN-08030: allocated channel: ORA_DISK_4

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.863]
DBGSQL:          sqlcode=0 [14:58:18.863]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmzlog [14:58:18.864] elapsed time [00:00:00:00.000]
DBGMISC:     ENTERED krmzlog [14:58:18.865]
RMAN-08500: channel ORA_DISK_4: sid=532 devtype=DISK

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:18.865]
DBGSQL:          sqlcode=0 [14:58:18.865]
DBGSQL:             :b1 = 0
DBGMISC:     EXITED krmzlog [14:58:18.866] elapsed time [00:00:00:00.000]
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICEQUERY
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=5
DBGRPC:      krmxrpc: xc=233707696 RPC #5 completed immediately
DBGRPC:      krmxr: xc=233707696 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_4
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_4
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_4
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=allocate id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=FINISHED chid=ORA_DISK_4
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: channel ORA_DISK_4 finished step 1 (krmqgns)
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGMISC:     Finished allocate at 17-FEB-14 [14:58:18.868]
DBGMISC:    EXITED krmice [14:58:19.046] elapsed time [00:00:00:00.280]
DBGMISC:    krmqalc1() : Exit [14:58:19.046]
DBGMISC:    Name translation defaults to catalog - 2 [14:58:19.046] (krmkomp)
DBGMISC:    ENTERED krmknmtr [14:58:19.046]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:19.046]
DBGSQL:         sqlcode=0 [14:58:19.046]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET rcvman . getAlBackup ; :listAlCopy := dbms_rcvman . listAlCopy ; :listB
Set := dbms_rcvman . listBSet ; :getAllBSet := dbms_rcvman . getAllBSet ; :listAlProxy := dbms_rcvman .
 listAlProxy ; :getRangeAlBackup := dbms_rcvman . getRangeAlBackup ; :unknownCmd := dbms_rcvman . unkno
wnCmd_t ; :recoverCmd := dbms_rcvman . recoverCmd_t ; :rcvCopyCmd := dbms_rcvman . rcvCopyCmd_t ; :rest
oreCmd := dbms_rcvman . restoreCmd_t ; end ; [14:58:19.047]
DBGSQL:         sqlcode=0 [14:58:19.047]
DBGSQL:            :b1 = 1
DBGSQL:            :b2 = 0
DBGSQL:            :b3 = 2
DBGSQL:            :b4 = 1
DBGSQL:            :b5 = 3
DBGSQL:            :b6 = 4
DBGSQL:            :b7 = 1
DBGSQL:            :b8 = 2
DBGSQL:            :b9 = 4
DBGSQL:            :b10 = 8
DBGSQL:            :b11 = 16
DBGSQL:            :b12 = 1
DBGSQL:            :b13 = 2
DBGSQL:            :b14 = 4
DBGSQL:            :b15 = 1
DBGSQL:            :b16 = 2
DBGSQL:            :b17 = 1
DBGSQL:            :b18 = 2
DBGSQL:            :b19 = 4
DBGSQL:            :b20 = 8
DBGSQL:            :b21 = 512
DBGSQL:            :b22 = 16
DBGSQL:            :b23 = 1
DBGSQL:            :b24 = 2
DBGSQL:            :b25 = 4
DBGSQL:            :b26 = 8
DBGSQL:            :b27 = 32
DBGSQL:            :b28 = 16
DBGSQL:            :b29 = 128
DBGSQL:            :b30 = 0
DBGSQL:            :b31 = 1
DBGSQL:            :b32 = 2
DBGSQL:            :b33 = 3
DBGSQL:            :b34 = 14
DBGSQL:            :b35 = 4
DBGSQL:            :b36 = 5
DBGSQL:            :b37 = 6
DBGSQL:            :b38 = 15
DBGSQL:            :b39 = 7
DBGSQL:            :b40 = 8
DBGSQL:            :b41 = 9
DBGSQL:            :b42 = 10
DBGSQL:            :b43 = 11
DBGSQL:            :b44 = 12
DBGSQL:            :b45 = 13
DBGSQL:            :b46 = 16
DBGSQL:            :b47 = 17
DBGSQL:            :b48 = 18
DBGSQL:            :b49 = 0
DBGSQL:            :b50 = 1
DBGSQL:            :b51 = 2
DBGSQL:            :b52 = 4
   DBGRCVMAN: resetAll
   DBGRCVMAN: setRAflags kindMask=255 containerMask=15 actionMask=63
   DBGRCVMAN: ENTERING setComputeRecoveryActionMasks
   DBGRCVMAN: EXITING setComputeRecoveryActionMasks
   DBGRCVMAN: allIncarnations is set to FALSE
   DBGRCVMAN: reset transclause
   DBGRCVMAN: *****BsRecCache Statistics*****
   DBGRCVMAN: Cache size=0 hit=0
   DBGRCVMAN: rcvRecBackupAge= 0
   DBGRCVMAN: thisBackupAge= 0
   DBGRCVMAN: ENTERING setRedoLogDeletionPolicy
   DBGRCVMAN:    setRedoLogDeletionPolicy with policy = TO NONE
   DBGRCVMAN:    setRedoLogDeletionPolicy with alldest = 0
   DBGRCVMAN:  ENTERING validateStandbyConfig1
   DBGRCVMAN: policy  = TO NONE
   DBGRCVMAN: alldest = 0
   DBGRCVMAN:  EXITING validateStandbyConfig1 with target   = NULLwith status   = 1
   DBGRCVMAN: EXITING setRedoLogDeletionPolicy with policy = TO NONE with target = NULL with bind  = MA
NDATORY
DBGMISC:     ENTERED krmknmtr [14:58:19.051]
DBGMISC:      ENTERED krmknmtr [14:58:19.051]
DBGMISC:       ENTERED krmknmtr [14:58:19.051]

DBGSQL:         EXEC SQL AT TARGET begin dbms_rcvman . translateDatabase ; end ; [14:58:19.051]
DBGSQL:            sqlcode=0 [14:58:19.056]
      DBGRCVMAN: ENTERING translateDatabase()
      DBGRCVMAN: translateDatabase() sinceUntilSCN 0 untilSCN 0
      DBGRCVMAN: translateDatabase() fromSCN 9.00000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000E+125 toSCN 9.0000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000E+125
      DBGRCVMAN:  OPENING cursor translateDatabase_c in translateDatabase()
      DBGRCVMAN: tc_database=TRUE
      DBGRCVMAN: EXITING translateDatabase()
DBGMISC:        ENTERED krmkgdf [14:58:19.057]
DBGMISC:         ENTERED krmkgbh [14:58:19.112]
DBGMISC:          ENTERED krmkgdfbh [14:58:19.112]

DBGSQL:            EXEC SQL AT TARGET declare first boolean := FALSE ; bhistoryRec dbms_rcvman . bhisto
ryRec_t ; begin if ( :first > 0 ) THEN first := TRUE ; end if ; dbms_rcvman . getDfBackupHistory ( back
edUpDev => :devtype:devtype_i , first => first , bhistoryRec => bhistoryRec , recentbackup => TRUE ) ;
:fileno := bhistoryRec . dfNumber ; :crescn := bhistoryRec . create_scn ; :rlgscn:rlgscn_i := bhistoryR
ec . reset_scn ; :rlgtime:rlgtime_i := bhistoryRec . reset_time ; :nbackups := bhistoryRec . nbackups ;
 :compTime:compTime_i := bhistoryRec . compTime ; :ckpscn := bhistoryRec . ckp_scn ; end ; [14:58:19.11
2]
DBGSQL:               sqlcode=1403 [14:58:19.153]
DBGMISC:          EXITED krmkgdfbh with status Done [14:58:19.153] elapsed time [00:00:00:00.040]
DBGMISC:         EXITED krmkgbh with status Done [14:58:19.153] elapsed time [00:00:00:00.040]
DBGMISC:        EXITED krmkgdf [14:58:19.153] elapsed time [00:00:00:00.095]
DBGMISC:       EXITED krmknmtr with status DFILE [14:58:19.153] elapsed time [00:00:00:00.101]
DBGMISC:      EXITED krmknmtr with status BSPEC [14:58:19.153] elapsed time [00:00:00:00.101]
DBGMISC:     EXITED krmknmtr with status BSLIST [14:58:19.153] elapsed time [00:00:00:00.101]
DBGMISC:     krmknmtr:  the parse tree after name translation is: [14:58:19.153]
DBGMISC:    EXITED krmknmtr with status backup [14:58:19.153] elapsed time [00:00:00:00.106]
DBGMISC:    krmkdps: this_reset_scn=21559129 [14:58:19.153]
DBGMISC:    krmkdps: this_reset_time=18-OCT-13 [14:58:19.153]
DBGMISC:    krmkdps: untilSCN= [14:58:19.154]
DBGMISC:    krmkdps: untilTime= [14:58:19.154]
DBGMISC:    krmkdps: getRA_completedAfter= [14:58:19.154]
DBGMISC:    krmkdps: getRA_completedBefore= [14:58:19.154]
DBGMISC:    krmkdps: getRA_likePattern= [14:58:19.154]
DBGMISC:    krmkdps: getRA_containerMask=15 [14:58:19.155]
DBGMISC:    krmkdps: getRA_actionMask=63 [14:58:19.155]
DBGMISC:    krmkdps: computeRA_allRecords0 [14:58:19.155]
DBGMISC:    krmkdps: computeRA_fullBackups=1 [14:58:19.155]
DBGMISC:    krmkdps: allIncarnations=0 [14:58:19.155]
DBGMISC:    ENTERED krmkbck [14:58:19.155]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:19.156]
DBGSQL:         sqlcode=0 [14:58:19.156]
DBGSQL:            :b1 = 0
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 1
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 2
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 3
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 4
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 5
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 6
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 7
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 8
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 9
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() dfNumber 10
   DBGRCVMAN: EXITING getDatafile()
   DBGRCVMAN: ENTERING getDatafile()
   DBGRCVMAN: getDatafile() Cursor translateDatabase
   DBGRCVMAN: getDatafile() set cursor to null
   DBGRCVMAN: getDatafile() no data found
   DBGRCVMAN:  ENTERING getDfBackupHistory
   DBGRCVMAN: getDfBackupHistory  first
   DBGRCVMAN:   OPENING cursor dfBackupHistory_c2 in getDfBackupHistory
   DBGRCVMAN:  EXITING getDfBackupHistory with: no_data_found

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:19.163]
DBGSQL:         sqlcode=0 [14:58:19.163]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET begin dbms_backup_restore . getDefaultTag ( :otag ) ; end ; [14:58:19.1
64]
DBGSQL:         sqlcode=0 [14:58:19.165]
DBGSQL:            :b1 = "TAG20140217T145819"

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:19.166]
DBGSQL:         sqlcode=0 [14:58:19.166]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select cfbsz ,cffsz into :b1,:b2  from x$kcccf where rownum=1 [14:58:19
.166]
DBGSQL:         sqlcode=0 [14:58:19.167]
DBGSQL:            :b1 = 16384
DBGSQL:            :b2 = 946
DBGMISC:     ENTERED krmkgdconf [14:58:19.167]
DBGMISC:      input devtype=DISK [14:58:19.167] (krmkgdconf)
DBGMISC:      Entering krmkgconf [14:58:19.167]
DBGMISC:      krmkgconf: Configuration is DEVICE TYPE [14:58:19.167]

DBGSQL:       EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fi
rst := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:va
lue_i , first ) ; end ; [14:58:19.167]
DBGSQL:          sqlcode=0 [14:58:19.168]
DBGSQL:             :b1 = 1
DBGSQL:             :b2 = "DEVICE TYPE"
DBGSQL:             :b4 = "DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4"

DBGSQL:       EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fi
rst := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:va
lue_i , first ) ; end ; [14:58:19.168]
DBGSQL:          sqlcode=1403 [14:58:19.169]
DBGMISC:      Function kmkgconf created the following tree: [14:58:19.169]
DBGMISC:      configure
DBGMISC:        1 DEV CONFIG
DBGMISC:            1 CHDISK
DBGMISC:            2 compress
DBGMISC:            3 parnum = 4
DBGMISC:      EXIT
DBGMISC:      Exiting krmkgconf [14:58:19.169]
DBGMISC:      parnum = 4
DBGMISC:      compress
DBGMISC:     EXITED krmkgdconf [14:58:19.169] elapsed time [00:00:00:00.002]
DBGMISC:     Entering krmkgconf [14:58:19.169]
DBGMISC:     krmkgconf: Configuration is ENCRYPTION FOR DATABASE [14:58:19.169]

DBGSQL:      EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fir
st := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:val
ue_i , first ) ; end ; [14:58:19.170]
DBGSQL:         sqlcode=1403 [14:58:19.170]
DBGMISC:     Function kmkgconf created the following tree: [14:58:19.170]
DBGMISC:     EXIT
DBGMISC:     Exiting krmkgconf [14:58:19.170]
DBGMISC:     Configured NoEncrypt at db level [14:58:19.170]
DBGMISC:     Entering krmkgconf [14:58:19.170]
DBGMISC:     krmkgconf: Configuration is ENCRYPTION ALGORITHM [14:58:19.170]

DBGSQL:      EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fir
st := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:val
ue_i , first ) ; end ; [14:58:19.170]
DBGSQL:         sqlcode=1403 [14:58:19.171]
DBGMISC:     Function kmkgconf created the following tree: [14:58:19.171]
DBGMISC:     EXIT
DBGMISC:     Exiting krmkgconf [14:58:19.171]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:19.171]
DBGSQL:         sqlcode=0 [14:58:19.171]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select algorithm_id ,algorithm_name ,length(algorithm_name) into :b1,:b
2,:b3  from v$rman_encryption_algorithms where lower(is_default)='yes' [14:58:19.172]
DBGSQL:         sqlcode=0 [14:58:19.174]
DBGSQL:            :b1 = 1
DBGSQL:            :b2 = "AES128                                                          "
DBGSQL:            :b3 = 6
DBGMISC:     ENTERED krmkgdconf [14:58:19.174]
DBGMISC:      input devtype=DISK [14:58:19.174] (krmkgdconf)
DBGMISC:      Entering krmkgconf [14:58:19.174]
DBGMISC:      krmkgconf: Configuration is DATAFILE BACKUP COPIES FOR DEVICE TYPE [14:58:19.174]

DBGSQL:       EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fi
rst := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:va
lue_i , first ) ; end ; [14:58:19.174]
DBGSQL:          sqlcode=1403 [14:58:19.175]
DBGMISC:      Function kmkgconf created the following tree: [14:58:19.175]
DBGMISC:      EXIT
DBGMISC:      Exiting krmkgconf [14:58:19.175]
DBGMISC:      copies = 1
DBGMISC:     EXITED krmkgdconf [14:58:19.175] elapsed time [00:00:00:00.000]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:19.175]
DBGSQL:         sqlcode=0 [14:58:19.175]
DBGSQL:            :b1 = 0
DBGMISC:     ENTERED krmkrfh [14:58:19.176]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.176]
DBGSQL:          sqlcode=0 [14:58:19.176]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.176]
DBGSQL:          sqlcode=0 [14:58:19.182]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 7
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 102400
DBGSQL:             :b16 = 8192
DBGSQL:             :b17 = 1
DBGMISC:      krmkrfh: [14:58:19.183]
DBGMISC:      DF fno=1 crescn=7 blksize=4096 blocks=102400 rfno=1
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/system01.dbf
DBGMISC:          ts=SYSTEM, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=7
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.183] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.183]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.183]
DBGSQL:          sqlcode=0 [14:58:19.184]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
184]
DBGSQL:          sqlcode=0 [14:58:19.186]
DBGSQL:             :b1 = 1

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.186]
DBGSQL:          sqlcode=0 [14:58:19.191]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.191]
DBGSQL:          sqlcode=1403 [14:58:19.191]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.191]
DBGSQL:          sqlcode=0 [14:58:19.191]
DBGMISC:      krmkaff: [14:58:19.192]
DBGMISC:      DF fno=1 crescn=7 blksize=4096 blocks=102400 rfno=1
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/system01.dbf
DBGMISC:          ts=SYSTEM, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=7
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=102400
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.192] elapsed time [00:00:00:00.009]
DBGMISC:     ENTERED krmkgdconf [14:58:19.192]
DBGMISC:      input devtype=null [14:58:19.192] (krmkgdconf)
DBGMISC:      Entering krmkgconf [14:58:19.193]
DBGMISC:      krmkgconf: Configuration is CONTROLFILE AUTOBACKUP [14:58:19.193]

DBGSQL:       EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fi
rst := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:va
lue_i , first ) ; end ; [14:58:19.193]
DBGSQL:          sqlcode=0 [14:58:19.193]
DBGSQL:             :b1 = 1
DBGSQL:             :b2 = "CONTROLFILE AUTOBACKUP"
DBGSQL:             :b4 = "ON"

DBGSQL:       EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fi
rst := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:va
lue_i , first ) ; end ; [14:58:19.194]
DBGSQL:          sqlcode=1403 [14:58:19.194]
DBGMISC:      Function kmkgconf created the following tree: [14:58:19.195]
DBGMISC:      configure
DBGMISC:        1 CFAU
DBGMISC:            1 ON
DBGMISC:      EXIT
DBGMISC:      Exiting krmkgconf [14:58:19.195]
DBGMISC:      CFAU
DBGMISC:        1 ON
DBGMISC:     EXITED krmkgdconf [14:58:19.195] elapsed time [00:00:00:00.002]
DBGMISC:     krmkbck() blocks_krmbctx 102400 [14:58:19.195]
DBGMISC:     ENTERED krmkrfh [14:58:19.195]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.195]
DBGSQL:          sqlcode=0 [14:58:19.196]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.196]
DBGSQL:          sqlcode=0 [14:58:19.201]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 6650
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 79360
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 2
DBGMISC:      krmkrfh: [14:58:19.202]
DBGMISC:      DF fno=2 crescn=6650 blksize=4096 blocks=79360 rfno=2
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/undotbs01.dbf
DBGMISC:          ts=UNDOTBS1, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=6650
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.203] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.203]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.203]
DBGSQL:          sqlcode=0 [14:58:19.203]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
204]
DBGSQL:          sqlcode=0 [14:58:19.204]
DBGSQL:             :b1 = 2

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.204]
DBGSQL:          sqlcode=0 [14:58:19.209]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.209]
DBGSQL:          sqlcode=1403 [14:58:19.210]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.210]
DBGSQL:          sqlcode=0 [14:58:19.210]
DBGMISC:      krmkaff: [14:58:19.210]
DBGMISC:      DF fno=2 crescn=6650 blksize=4096 blocks=79360 rfno=2
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/undotbs01.dbf
DBGMISC:          ts=UNDOTBS1, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=6650
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=181760
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.211] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 181760 [14:58:19.211]
DBGMISC:     ENTERED krmkrfh [14:58:19.211]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.211]
DBGSQL:          sqlcode=0 [14:58:19.211]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.212]
DBGSQL:          sqlcode=0 [14:58:19.217]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 6836
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 69120
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 3
DBGMISC:      krmkrfh: [14:58:19.218]
DBGMISC:      DF fno=3 crescn=6836 blksize=4096 blocks=69120 rfno=3
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/sysaux01.dbf
DBGMISC:          ts=SYSAUX, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=6836
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.218] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.218]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.218]
DBGSQL:          sqlcode=0 [14:58:19.219]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
219]
DBGSQL:          sqlcode=0 [14:58:19.219]
DBGSQL:             :b1 = 3

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.220]
DBGSQL:          sqlcode=0 [14:58:19.224]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.225]
DBGSQL:          sqlcode=1403 [14:58:19.225]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.225]
DBGSQL:          sqlcode=0 [14:58:19.225]
DBGMISC:      krmkaff: [14:58:19.225]
DBGMISC:      DF fno=3 crescn=6836 blksize=4096 blocks=69120 rfno=3
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/sysaux01.dbf
DBGMISC:          ts=SYSAUX, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=6836
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=250880
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.226] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 250880 [14:58:19.226]
DBGMISC:     ENTERED krmkrfh [14:58:19.226]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.226]
DBGSQL:          sqlcode=0 [14:58:19.227]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.227]
DBGSQL:          sqlcode=0 [14:58:19.232]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 11160
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 91200
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 4
DBGMISC:      krmkrfh: [14:58:19.233]
DBGMISC:      DF fno=4 crescn=11160 blksize=4096 blocks=91200 rfno=4
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/users01.dbf
DBGMISC:          ts=USERS, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=11160
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.233] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.233]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.233]
DBGSQL:          sqlcode=0 [14:58:19.234]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
234]
DBGSQL:          sqlcode=0 [14:58:19.234]
DBGSQL:             :b1 = 4

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.235]
DBGSQL:          sqlcode=0 [14:58:19.240]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.240]
DBGSQL:          sqlcode=1403 [14:58:19.240]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.240]
DBGSQL:          sqlcode=0 [14:58:19.240]
DBGMISC:      krmkaff: [14:58:19.241]
DBGMISC:      DF fno=4 crescn=11160 blksize=4096 blocks=91200 rfno=4
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/users01.dbf
DBGMISC:          ts=USERS, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=11160
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=342080
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.241] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 342080 [14:58:19.241]
DBGMISC:     ENTERED krmkrfh [14:58:19.241]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.242]
DBGSQL:          sqlcode=0 [14:58:19.242]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.242]
DBGSQL:          sqlcode=0 [14:58:19.247]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 9804108
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 256
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 5
DBGMISC:      krmkrfh: [14:58:19.248]
DBGMISC:      DF fno=5 crescn=9804108 blksize=4096 blocks=256 rfno=5
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/undodjy.dbf
DBGMISC:          ts=UNDODJY, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=9804108
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.249] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.249]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.249]
DBGSQL:          sqlcode=0 [14:58:19.249]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
250]
DBGSQL:          sqlcode=0 [14:58:19.250]
DBGSQL:             :b1 = 5

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.250]
DBGSQL:          sqlcode=0 [14:58:19.255]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.255]
DBGSQL:          sqlcode=1403 [14:58:19.256]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.256]
DBGSQL:          sqlcode=0 [14:58:19.256]
DBGMISC:      krmkaff: [14:58:19.256]
DBGMISC:      DF fno=5 crescn=9804108 blksize=4096 blocks=256 rfno=5
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/undodjy.dbf
DBGMISC:          ts=UNDODJY, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=9804108
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=342336
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.257] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 342336 [14:58:19.257]
DBGMISC:     ENTERED krmkrfh [14:58:19.257]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.257]
DBGSQL:          sqlcode=0 [14:58:19.257]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.258]
DBGSQL:          sqlcode=0 [14:58:19.263]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 13154793
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 591360
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 6
DBGMISC:      krmkrfh: [14:58:19.264]
DBGMISC:      DF fno=6 crescn=13154793 blksize=4096 blocks=591360 rfno=6
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/test01.dbf
DBGMISC:          ts=TEST, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=13154793
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.264] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.264]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.264]
DBGSQL:          sqlcode=0 [14:58:19.265]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
265]
DBGSQL:          sqlcode=0 [14:58:19.265]
DBGSQL:             :b1 = 6

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.266]
DBGSQL:          sqlcode=0 [14:58:19.271]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.271]
DBGSQL:          sqlcode=1403 [14:58:19.271]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.271]
DBGSQL:          sqlcode=0 [14:58:19.271]
DBGMISC:      krmkaff: [14:58:19.272]
DBGMISC:      DF fno=6 crescn=13154793 blksize=4096 blocks=591360 rfno=6
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/test01.dbf
DBGMISC:          ts=TEST, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=13154793
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=933696
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.272] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 933696 [14:58:19.272]
DBGMISC:     ENTERED krmkrfh [14:58:19.272]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.272]
DBGSQL:          sqlcode=0 [14:58:19.273]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.273]
DBGSQL:          sqlcode=0 [14:58:19.278]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 14233043
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 3855
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 7
DBGMISC:      krmkrfh: [14:58:19.279]
DBGMISC:      DF fno=7 crescn=14233043 blksize=4096 blocks=3855 rfno=7
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/zxr01.dbf
DBGMISC:          ts=ZXR, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=14233043
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.279] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.280]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.280]
DBGSQL:          sqlcode=0 [14:58:19.280]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
280]
DBGSQL:          sqlcode=0 [14:58:19.281]
DBGSQL:             :b1 = 7

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.281]
DBGSQL:          sqlcode=0 [14:58:19.286]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.286]
DBGSQL:          sqlcode=1403 [14:58:19.286]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.287]
DBGSQL:          sqlcode=0 [14:58:19.287]
DBGMISC:      krmkaff: [14:58:19.287]
DBGMISC:      DF fno=7 crescn=14233043 blksize=4096 blocks=3855 rfno=7
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/zxr01.dbf
DBGMISC:          ts=ZXR, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=14233043
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=937551
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.287] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 937551 [14:58:19.287]
DBGMISC:     ENTERED krmkrfh [14:58:19.288]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.288]
DBGSQL:          sqlcode=0 [14:58:19.288]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.289]
DBGSQL:          sqlcode=0 [14:58:19.293]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 21224045
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 12800
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 8
DBGMISC:      krmkrfh: [14:58:19.294]
DBGMISC:      DF fno=8 crescn=21224045 blksize=4096 blocks=12800 rfno=8
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata2/myy01.dbf
DBGMISC:          ts=MYYY, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=21224045
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.295] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.295]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.295]
DBGSQL:          sqlcode=0 [14:58:19.295]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
296]
DBGSQL:          sqlcode=0 [14:58:19.296]
DBGSQL:             :b1 = 8

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.296]
DBGSQL:          sqlcode=0 [14:58:19.301]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.302]
DBGSQL:          sqlcode=1403 [14:58:19.302]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.302]
DBGSQL:          sqlcode=0 [14:58:19.302]
DBGMISC:      krmkaff: [14:58:19.302]
DBGMISC:      DF fno=8 crescn=21224045 blksize=4096 blocks=12800 rfno=8
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata2/myy01.dbf
DBGMISC:          ts=MYYY, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=21224045
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=950351
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.303] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 950351 [14:58:19.303]
DBGMISC:     ENTERED krmkrfh [14:58:19.303]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.303]
DBGSQL:          sqlcode=0 [14:58:19.304]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.304]
DBGSQL:          sqlcode=0 [14:58:19.309]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 19191099
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 12800
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 9
DBGMISC:      krmkrfh: [14:58:19.310]
DBGMISC:      DF fno=9 crescn=19191099 blksize=4096 blocks=12800 rfno=9
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/users02.dbf
DBGMISC:          ts=USERS, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=19191099
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.310] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.310]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.311]
DBGSQL:          sqlcode=0 [14:58:19.311]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
311]
DBGSQL:          sqlcode=0 [14:58:19.312]
DBGSQL:             :b1 = 9

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.312]
DBGSQL:          sqlcode=0 [14:58:19.317]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.317]
DBGSQL:          sqlcode=1403 [14:58:19.317]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.317]
DBGSQL:          sqlcode=0 [14:58:19.318]
DBGMISC:      krmkaff: [14:58:19.318]
DBGMISC:      DF fno=9 crescn=19191099 blksize=4096 blocks=12800 rfno=9
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/users02.dbf
DBGMISC:          ts=USERS, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=19191099
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=963151
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.318] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 963151 [14:58:19.318]
DBGMISC:     ENTERED krmkrfh [14:58:19.319]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.319]
DBGSQL:          sqlcode=0 [14:58:19.319]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select fhscn ,to_date(fhtim,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregor
ian') ,fhcrs ,fhrls ,to_date(fhrlc,'MM/DD/RR HH24:MI:SS','NLS_CALENDAR=Gregorian') ,fhafs ,fhrfs ,fhrft
 ,hxerr ,fhfsz ,fhsta into :b1,:b2:b3,:b4,:b5,:b6:b7,:b8:b9,:b10:b11,:b12:b13,:b14,:b15,:b16  from x$kc
vfhall where hxfil=:b17 [14:58:19.319]
DBGSQL:          sqlcode=0 [14:58:19.324]
DBGSQL:             :b1 = 26166670
DBGSQL:             :b2 = "17-FEB-14"
DBGSQL:             :b4 = 25539778
DBGSQL:             :b5 = 21559129
DBGSQL:             :b6 = "18-OCT-13"
DBGSQL:             :b8 = 0
DBGSQL:             :b10 = NULL
DBGSQL:             :b12 = NULL
DBGSQL:             :b14 = 0
DBGSQL:             :b15 = 5120
DBGSQL:             :b16 = 0
DBGSQL:             :b17 = 10
DBGMISC:      krmkrfh: [14:58:19.325]
DBGMISC:      DF fno=10 crescn=25539778 blksize=4096 blocks=5120 rfno=10
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/dongdong.dbf
DBGMISC:          ts=DONGDONG, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=25539778
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     EXITED krmkrfh [14:58:19.326] elapsed time [00:00:00:00.007]
DBGMISC:     ENTERED krmkaff [14:58:19.326]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:19.326]
DBGSQL:          sqlcode=0 [14:58:19.326]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select device ,node  from x$krbaff where fno=:b1            [14:58:19.
327]
DBGSQL:          sqlcode=0 [14:58:19.327]
DBGSQL:             :b1 = 10

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.327]
DBGSQL:          sqlcode=0 [14:58:19.332]
DBGSQL:             :b1 = "64775"
DBGSQL:             :b3 = NULL

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.332]
DBGSQL:          sqlcode=1403 [14:58:19.333]

DBGSQL:       EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:19.333]
DBGSQL:          sqlcode=0 [14:58:19.333]
DBGMISC:      krmkaff: [14:58:19.333]
DBGMISC:      DF fno=10 crescn=25539778 blksize=4096 blocks=5120 rfno=10
DBGMISC:          fn=/paic/data/oracle/oradata/dongkuifeng/oradata/dongdong.dbf
DBGMISC:          ts=DONGDONG, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:          fedata: sta=0x0e crescn=25539778
DBGMISC:          fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:          device=64775 blocks=968271
DBGMISC:          node=NULL_NODE
DBGMISC:     EXITED krmkaff [14:58:19.334] elapsed time [00:00:00:00.007]
DBGMISC:     krmkbck() blocks_krmbctx 968271 [14:58:19.334]
DBGMISC:     ENTERED krmkgdconf [14:58:19.334]
DBGMISC:      input devtype=null [14:58:19.334] (krmkgdconf)
DBGMISC:      Entering krmkgconf [14:58:19.334]
DBGMISC:      krmkgconf: Configuration is MAXSETSIZE TO [14:58:19.334]

DBGSQL:       EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fi
rst := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:va
lue_i , first ) ; end ; [14:58:19.334]
DBGSQL:          sqlcode=1403 [14:58:19.335]
DBGMISC:      Function kmkgconf created the following tree: [14:58:19.335]
DBGMISC:      EXIT
DBGMISC:      Exiting krmkgconf [14:58:19.335]
DBGMISC:      MSSNCF
DBGMISC:        1 unlimited
DBGMISC:     EXITED krmkgdconf [14:58:19.335] elapsed time [00:00:00:00.001]
DBGMISC:     krmkbck: files=10 blocks=968271 sets=4 setsize=242068 hard_lim=0 hard_kb=0 [14:58:19.336]
DBGMISC:     DF fno=6 crescn=13154793 blksize=4096 blocks=591360 rfno=6
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/test01.dbf
DBGMISC:     ts=TEST, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=13154793
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=1 crescn=7 blksize=4096 blocks=102400 rfno=1
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/system01.dbf
DBGMISC:     ts=SYSTEM, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=7
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=4 crescn=11160 blksize=4096 blocks=91200 rfno=4
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/users01.dbf
DBGMISC:     ts=USERS, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=11160
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=2 crescn=6650 blksize=4096 blocks=79360 rfno=2
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/undotbs01.dbf
DBGMISC:     ts=UNDOTBS1, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=6650
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=3 crescn=6836 blksize=4096 blocks=69120 rfno=3
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/sysaux01.dbf
DBGMISC:     ts=SYSAUX, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=6836
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=8 crescn=21224045 blksize=4096 blocks=12800 rfno=8
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata2/myy01.dbf
DBGMISC:     ts=MYYY, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=21224045
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=9 crescn=19191099 blksize=4096 blocks=12800 rfno=9
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/users02.dbf
DBGMISC:     ts=USERS, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=19191099
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=10 crescn=25539778 blksize=4096 blocks=5120 rfno=10
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/dongdong.dbf
DBGMISC:     ts=DONGDONG, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=25539778
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=7 crescn=14233043 blksize=4096 blocks=3855 rfno=7
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/zxr01.dbf
DBGMISC:     ts=ZXR, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=14233043
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     DF fno=5 crescn=9804108 blksize=4096 blocks=256 rfno=5
DBGMISC:     fn=/paic/data/oracle/oradata/dongkuifeng/oradata/undodjy.dbf
DBGMISC:     ts=UNDODJY, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:     fedata: sta=0x0e crescn=9804108
DBGMISC:     fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:     device=64775 blocks=968271
DBGMISC:     node=NULL_NODE
DBGMISC:     No Encrypt backup init(e019330) for dfno=6 [14:58:19.340]
DBGMISC:     No Encrypt backup init(e019430) for dfno=1 [14:58:19.340]
DBGMISC:     No Encrypt backup init(e019530) for dfno=4 [14:58:19.340]
DBGMISC:     No Encrypt backup init(e019630) for dfno=2 [14:58:19.340]
DBGMISC:     Not Encrypt backupset add(e019630) dfno=3 [14:58:19.340]
DBGMISC:     Not Encrypt backupset add(e019530) dfno=8 [14:58:19.341]
DBGMISC:     Not Encrypt backupset add(e019430) dfno=9 [14:58:19.341]
DBGMISC:     Not Encrypt backupset add(e019530) dfno=10 [14:58:19.341]
DBGMISC:     Not Encrypt backupset add(e019430) dfno=7 [14:58:19.341]
DBGMISC:     Not Encrypt backupset add(e019630) dfno=5 [14:58:19.341]
DBGMISC:     krmkbck: backup set list: [14:58:19.341]
DBGMISC:       1 SL blocks=109120 blksize=4096 files=3 bscomp=0 pieceno=0
DBGMISC:               1 DF fno=4 crescn=11160 blksize=4096 blocks=91200 rfno=4
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/users01.dbf
DBGMISC:             ts=USERS, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=11160
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:           2 DF fno=8 crescn=21224045 blksize=4096 blocks=12800 rfno=8
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata2/myy01.dbf
DBGMISC:             ts=MYYY, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=21224045
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:           3 DF fno=10 crescn=25539778 blksize=4096 blocks=5120 rfno=10
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/dongdong.dbf
DBGMISC:             ts=DONGDONG, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=25539778
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:       2 SL blocks=119055 blksize=4096 files=3 bscomp=0 pieceno=0
DBGMISC:               1 DF fno=1 crescn=7 blksize=4096 blocks=102400 rfno=1
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/system01.dbf
DBGMISC:             ts=SYSTEM, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=7
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:           2 DF fno=9 crescn=19191099 blksize=4096 blocks=12800 rfno=9
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/users02.dbf
DBGMISC:             ts=USERS, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=19191099
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:           3 DF fno=7 crescn=14233043 blksize=4096 blocks=3855 rfno=7
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/zxr01.dbf
DBGMISC:             ts=ZXR, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=14233043
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:       3 SL blocks=148736 blksize=4096 files=3 bscomp=0 pieceno=0
DBGMISC:               1 DF fno=2 crescn=6650 blksize=4096 blocks=79360 rfno=2
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/undotbs01.dbf
DBGMISC:             ts=UNDOTBS1, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=6650
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:           2 DF fno=3 crescn=6836 blksize=4096 blocks=69120 rfno=3
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/sysaux01.dbf
DBGMISC:             ts=SYSAUX, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=6836
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:           3 DF fno=5 crescn=9804108 blksize=4096 blocks=256 rfno=5
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/undodjy.dbf
DBGMISC:             ts=UNDODJY, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=9804108
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:       4 SL blocks=591360 blksize=4096 files=1 bscomp=0 pieceno=0
DBGMISC:               1 DF fno=6 crescn=13154793 blksize=4096 blocks=591360 rfno=
6
DBGMISC:             fn=/paic/data/oracle/oradata/dongkuifeng/oradata/test01.dbf
DBGMISC:             ts=TEST, flags=KRMKDF_DATABASE, flags=KRMKDF_INBACKUP
DBGMISC:             fedata: sta=0x0e crescn=13154793
DBGMISC:             fhdata: ckpscn=26166670 rlgscn=21559129
DBGMISC:             device=64775 blocks=968271
DBGMISC:             node=NULL_NODE
DBGMISC:     duration remaining(chn secs,bytes)=(0,3966038016) [14:58:19.349] (krmkbck)
DBGMISC:    EXITED krmkbck [14:58:19.349] elapsed time [00:00:00:00.193]
DBGMISC:   EXITED krmkomp [14:58:19.349] elapsed time [00:00:00:01.763]
DBGPLSQL:  the compiled command tree is: [14:58:19.350] (krmicomp)
DBGPLSQL:    1 CMD type=backup id=1 status=NOT STARTED
DBGPLSQL:        1 STEP id=1 status=NOT STARTED
DBGPLSQL:            1 TEXTNOD = -- budf_start
DBGPLSQL:            2 TEXTNOD = /* This must be retriable, which means a backup conversation may alrea
dy
DBGPLSQL:            3 TEXTNOD =  * be in progress when this step (re)executes.
DBGPLSQL:            4 TEXTNOD =  */
DBGPLSQL:            5 TEXTNOD = declare
DBGPLSQL:            6 TEXTNOD =   /* backup conversation status variables */
DBGPLSQL:            7 TEXTNOD =   state       binary_integer;
DBGPLSQL:            8 TEXTNOD =   setid       number;
DBGPLSQL:            9 TEXTNOD =   stamp       number;
DBGPLSQL:           10 TEXTNOD =   pieceno     binary_integer;
DBGPLSQL:           11 TEXTNOD =   files       binary_integer;
DBGPLSQL:           12 TEXTNOD =   datafiles   boolean;
DBGPLSQL:           13 TEXTNOD =   incremental boolean;
DBGPLSQL:           14 TEXTNOD =   nochecksum  boolean;
DBGPLSQL:           15 TEXTNOD =   device      boolean;
DBGPLSQL:           16 TEXTNOD =   /* piece creation variables */
DBGPLSQL:           17 TEXTNOD =   done        boolean;
DBGPLSQL:           18 TEXTNOD =   concur      boolean;
DBGPLSQL:           19 TEXTNOD =   /* Miscellaneous */
DBGPLSQL:           20 TEXTNOD =   memnum      number;
DBGPLSQL:           21 TEXTNOD =   dfnumber    number;
DBGPLSQL:           22 TEXTNOD =   cfname      varchar2(512);
DBGPLSQL:           23 TEXTNOD =   copy_recid  number;
DBGPLSQL:           24 TEXTNOD =   copy_stamp  number;
DBGPLSQL:           25 TEXTNOD =   busy_retries number := 0;
DBGPLSQL:           26 TEXTNOD =   resetlogs_change  number;
DBGPLSQL:           27 TEXTNOD =   creation_change   number;
DBGPLSQL:           28 TEXTNOD =   checkpoint_change number;
DBGPLSQL:           29 TEXTNOD =   blksize           number;
DBGPLSQL:           30 TEXTNOD =   blocks            number;
DBGPLSQL:           31 TEXTNOD =   fname             varchar2(1024);
DBGPLSQL:           32 TEXTNOD =   no_delete         binary_integer;
DBGPLSQL:           33 TEXTNOD =   copy         number;
DBGPLSQL:           34 TEXTNOD =   nformat      number := 1;
DBGPLSQL:           35 TEXTNOD =   handle       varchar2(512);
DBGPLSQL:           36 TEXTNOD =   comment      varchar2(80);
DBGPLSQL:           37 TEXTNOD =   media        varchar2(80);
DBGPLSQL:           38 TEXTNOD =   wrong_format      exception;
DBGPLSQL:           39 TEXTNOD =   pragma exception_init(wrong_format, -20039);
DBGPLSQL:           40 TEXTNOD =   first_time        boolean := TRUE;
DBGPLSQL:           41 TEXTNOD =   backup_level      number;
DBGPLSQL:           42 TEXTNOD =   elapsed           number;
DBGPLSQL:           43 TEXTNOD =   stampd            date;
DBGPLSQL:           44 TEXTNOD =   hours             number;
DBGPLSQL:           45 TEXTNOD =   mins              number;
DBGPLSQL:           46 TEXTNOD =   secs              number;
DBGPLSQL:           47 TEXTNOD =   ncopies           number := 0;
DBGPLSQL:           48 TEXTNOD =   docompress        boolean := FALSE;
DBGPLSQL:           49 TEXTNOD = -- backup_type is used to indicate what type of backup is done. This i
s used
DBGPLSQL:           50 TEXTNOD = -- to get configured copies, look at krmkgbac for more comments.
DBGPLSQL:           51 TEXTNOD =   backup_type       number := 2;
DBGPLSQL:           52 TEXTNOD =   isstby            boolean;
DBGPLSQL:           53 TEXTNOD =   larchlog_failover boolean;
DBGPLSQL:           54 TEXTNOD =   failoverdone      boolean := FALSE;
DBGPLSQL:           55 TEXTNOD =   docopies          boolean := FALSE;
DBGPLSQL:           56 TEXTNOD =   cnvrtto           boolean := FALSE;
DBGPLSQL:           57 TEXTNOD =   cnvrtfr           boolean := FALSE;
DBGPLSQL:           58 TEXTNOD =   sameen            boolean := FALSE;
DBGPLSQL:           59 TEXTNOD =   reusefile         boolean := FALSE;
DBGPLSQL:           60 TEXTNOD =   tsname            varchar2(30) := NULL;
DBGPLSQL:           61 TEXTNOD =   thread            number := NULL;
DBGPLSQL:           62 TEXTNOD =   sequence          number := NULL;
DBGPLSQL:           63 TEXTNOD =   m                 number := 8581;
DBGPLSQL:           64 TEXTNOD =   cprecid           number;
DBGPLSQL:           65 TEXTNOD =   cpstamp           number;
DBGPLSQL:           66 TEXTNOD =   rsid              number;
DBGPLSQL:           67 TEXTNOD =   rsts              number;
DBGPLSQL:           68 TEXTNOD =   cptag             varchar2(31) := NULL;
DBGPLSQL:           69 TEXTNOD =   noct              boolean := FALSE;
DBGPLSQL:           70 TEXTNOD =   nooptim           boolean := FALSE;
DBGPLSQL:           71 TEXTNOD =   dontcare          varchar2(1);
DBGPLSQL:           72 TEXTNOD =   pltfrmto          number := NULL;
DBGPLSQL:           73 TEXTNOD =   pltfrmfr          number := NULL;
DBGPLSQL:           74 TEXTNOD =   foreign_dbname    varchar2(8) := NULL;
DBGPLSQL:           75 TEXTNOD =   foreign_dbid      number := NULL;
DBGPLSQL:           76 TEXTNOD =   doconvert         boolean := FALSE;
DBGPLSQL:           77 TEXTNOD =   savepiecename     boolean := FALSE;
DBGPLSQL:           78 TEXTNOD =   transontarget     boolean := FALSE;
DBGPLSQL:           79 TEXTNOD =   convertdb         boolean := FALSE;
DBGPLSQL:           80 TEXTNOD =   isomf             boolean;
DBGPLSQL:           81 TEXTNOD =   istmplt           boolean;
DBGPLSQL:           82 TEXTNOD =   isasm             boolean;
DBGPLSQL:           83 TEXTNOD = begin
DBGPLSQL:           84 TEXTNOD =  
DBGPLSQL:           85 PRMVAL =  backup_level := null;
DBGPLSQL:           86 TEXTNOD =   -- set docopies and convert (if any)
DBGPLSQL:           87 TEXTNOD =  
DBGPLSQL:           88 PRMVAL =  docopies := false;
DBGPLSQL:           89 TEXTNOD =   -- set rsid
DBGPLSQL:           90 TEXTNOD =  
DBGPLSQL:           91 PRMVAL =  rsid := 14;
DBGPLSQL:           92 TEXTNOD =   -- set rsts
DBGPLSQL:           93 TEXTNOD =  
DBGPLSQL:           94 PRMVAL =  rsts := 839775497;
DBGPLSQL:           95 TEXTNOD =   -- set reusefile
DBGPLSQL:           96 TEXTNOD =  
DBGPLSQL:           97 PRMVAL =  reusefile := false;
DBGPLSQL:           98 TEXTNOD =   -- set docompress := FALSE/TRUE
DBGPLSQL:           99 TEXTNOD =  
DBGPLSQL:          100 PRMVAL =  docompress := true;
DBGPLSQL:          101 TEXTNOD =   if pltfrmto is not null or pltfrmfr is not null then
DBGPLSQL:          102 TEXTNOD =      doconvert := true;
DBGPLSQL:          103 TEXTNOD =   end if;
DBGPLSQL:          104 TEXTNOD =   -- If returned FALSE, abort the backup job
DBGPLSQL:          105 TEXTNOD =   if (NOT beginBackupJobStep()) then
DBGPLSQL:          106 TEXTNOD =     return;
DBGPLSQL:          107 TEXTNOD =   end if;
DBGPLSQL:          108 TEXTNOD =  
DBGPLSQL:          109 TEXTNOD =   sys.dbms_backup_restore.backupStatus(state, setid, stamp, pieceno, f
iles,
DBGPLSQL:          110 TEXTNOD =                                        datafiles, incremental, nocheck
sum,
DBGPLSQL:          111 TEXTNOD =                                        device);
DBGPLSQL:          112 TEXTNOD =   if state = sys.dbms_backup_restore.BACKUP_NO_CONVERSATION then
DBGPLSQL:          113 TEXTNOD =     goto start_convo;
DBGPLSQL:          114 TEXTNOD =   elsif state = sys.dbms_backup_restore.BACKUP_NAMING_FILES then
DBGPLSQL:          115 TEXTNOD =     goto name_files;
DBGPLSQL:          116 TEXTNOD =   else
DBGPLSQL:          117 TEXTNOD =     goto create_piece;
DBGPLSQL:          118 TEXTNOD =   end if;
DBGPLSQL:          119 TEXTNOD = <>
DBGPLSQL:          120 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>rsid, rsts=>rsts);
DBGPLSQL:          121 TEXTNOD =   sys.dbms_backup_restore.backupSetDatafile(stamp, setid,
DBGPLSQL:          122 TEXTNOD =                                            
DBGPLSQL:          123 PRMVAL = incremental=>false,nochecksum=>false
DBGPLSQL:          124 TEXTNOD = ,
DBGPLSQL:          125 TEXTNOD =                                            
DBGPLSQL:          126 PRMVAL = tag=>'TAG20140217T145819'
DBGPLSQL:          127 TEXTNOD = ,
DBGPLSQL:          128 TEXTNOD =                                             imagcp    => docopies,
DBGPLSQL:          129 TEXTNOD =                                             convertto => cnvrtto,
DBGPLSQL:          130 TEXTNOD =                                             convertfr => cnvrtfr,
DBGPLSQL:          131 TEXTNOD =                                             pltfrmto  => pltfrmto,
DBGPLSQL:          132 TEXTNOD =                                             pltfrmfr  => pltfrmfr,
DBGPLSQL:          133 TEXTNOD =                                             sameen    => sameen,
DBGPLSQL:          134 TEXTNOD =                                             convertdb => convertdb);
DBGPLSQL:          135 TEXTNOD =   if (noct) then
DBGPLSQL:          136 TEXTNOD =     dontcare :=
DBGPLSQL:          137 TEXTNOD =       sys.dbms_backup_restore.getParm(sys.dbms_backup_restore.incr_noc
t);
DBGPLSQL:          138 TEXTNOD =   end if;
DBGPLSQL:          139 TEXTNOD =   if (nooptim) then
DBGPLSQL:          140 TEXTNOD =     dontcare :=
DBGPLSQL:          141 TEXTNOD =       sys.dbms_backup_restore.getParm(sys.dbms_backup_restore.full_noo
ptim);
DBGPLSQL:          142 TEXTNOD =   end if;
DBGPLSQL:          143 TEXTNOD =   -- Display appropriate message
DBGPLSQL:          144 TEXTNOD =   if transontarget then
DBGPLSQL:          145 TEXTNOD =      krmicd.writeMsg(8305, krmicd.getChid);
DBGPLSQL:          146 TEXTNOD =   elsif docopies then
DBGPLSQL:          147 TEXTNOD =      if doconvert then
DBGPLSQL:          148 TEXTNOD =         krmicd.writeMsg(8589, krmicd.getChid);
DBGPLSQL:          149 TEXTNOD =      else
DBGPLSQL:          150 TEXTNOD =         krmicd.writeMsg(8580, krmicd.getChid);
DBGPLSQL:          151 TEXTNOD =      end if;
DBGPLSQL:          152 TEXTNOD =   else
DBGPLSQL:          153 TEXTNOD =      if backup_level is not null then
DBGPLSQL:          154 TEXTNOD =         if (docompress) then
DBGPLSQL:          155 TEXTNOD =            krmicd.writeMsg(8047, krmicd.getChid, to_char(backup_level)
);
DBGPLSQL:          156 TEXTNOD =         else
DBGPLSQL:          157 TEXTNOD =            krmicd.writeMsg(8048, krmicd.getChid, to_char(backup_level)
);
DBGPLSQL:          158 TEXTNOD =         end if; 
DBGPLSQL:          159 TEXTNOD =      else
DBGPLSQL:          160 TEXTNOD =         if (docompress) then
DBGPLSQL:          161 TEXTNOD =            krmicd.writeMsg(8046, krmicd.getChid);
DBGPLSQL:          162 TEXTNOD =         else
DBGPLSQL:          163 TEXTNOD =            krmicd.writeMsg(8008, krmicd.getChid);
DBGPLSQL:          164 TEXTNOD =         end if;
DBGPLSQL:          165 TEXTNOD =      end if;
DBGPLSQL:          166 TEXTNOD =   end if;
DBGPLSQL:          167 TEXTNOD =   setBackupParams(docopies);
DBGPLSQL:          168 TEXTNOD = <>
DBGPLSQL:          169 TEXTNOD =   deb('budf_start', 'set_stamp=' || stamp || ' set_count=' || setid,
DBGPLSQL:          170 TEXTNOD =       rman_constant.DEBUG_IO, 1);
DBGPLSQL:          171 TEXTNOD = -- budf_name
DBGPLSQL:          172 TEXTNOD =  
DBGPLSQL:          173 PRMVAL =  memnum := 1;
DBGPLSQL:          174 TEXTNOD =  
DBGPLSQL:          175 PRMVAL =  dfnumber := 4; tsname := 'USERS'; fname := '/paic/data/oracle/oradata/
dongkuifeng/oradata/users01.dbf'; blocks := 91200; blksize := 4096;
DBGPLSQL:          176 TEXTNOD =   if (first_time) then
DBGPLSQL:          177 TEXTNOD =      if not docopies then
DBGPLSQL:          178 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          179 TEXTNOD =      end if;
DBGPLSQL:          180 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          181 TEXTNOD =   end if;
DBGPLSQL:          182 TEXTNOD =   if files < memnum then
DBGPLSQL:          183 TEXTNOD =     begin
DBGPLSQL:          184 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          185 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          186 TEXTNOD = );
DBGPLSQL:          187 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          188 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          189 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          190 TEXTNOD =     exception
DBGPLSQL:          191 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          192 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          193 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          194 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          195 TEXTNOD =     end;
DBGPLSQL:          196 TEXTNOD =     files := files + 1;
DBGPLSQL:          197 TEXTNOD =   end if;
DBGPLSQL:          198 TEXTNOD = -- budf_name
DBGPLSQL:          199 TEXTNOD =  
DBGPLSQL:          200 PRMVAL =  memnum := 2;
DBGPLSQL:          201 TEXTNOD =  
DBGPLSQL:          202 PRMVAL =  dfnumber := 8; tsname := 'MYYY'; fname := '/paic/data/oracle/oradata/d
ongkuifeng/oradata2/myy01.dbf'; blocks := 12800; blksize := 4096;
DBGPLSQL:          203 TEXTNOD =   if (first_time) then
DBGPLSQL:          204 TEXTNOD =      if not docopies then
DBGPLSQL:          205 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          206 TEXTNOD =      end if;
DBGPLSQL:          207 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          208 TEXTNOD =   end if;
DBGPLSQL:          209 TEXTNOD =   if files < memnum then
DBGPLSQL:          210 TEXTNOD =     begin
DBGPLSQL:          211 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          212 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          213 TEXTNOD = );
DBGPLSQL:          214 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          215 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          216 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          217 TEXTNOD =     exception
DBGPLSQL:          218 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          219 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          220 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          221 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          222 TEXTNOD =     end;
DBGPLSQL:          223 TEXTNOD =     files := files + 1;
DBGPLSQL:          224 TEXTNOD =   end if;
DBGPLSQL:          225 TEXTNOD = -- budf_name
DBGPLSQL:          226 TEXTNOD =  
DBGPLSQL:          227 PRMVAL =  memnum := 3;
DBGPLSQL:          228 TEXTNOD =  
DBGPLSQL:          229 PRMVAL =  dfnumber := 10; tsname := 'DONGDONG'; fname := '/paic/data/oracle/orad
ata/dongkuifeng/oradata/dongdong.dbf'; blocks := 5120; blksize := 4096;
DBGPLSQL:          230 TEXTNOD =   if (first_time) then
DBGPLSQL:          231 TEXTNOD =      if not docopies then
DBGPLSQL:          232 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          233 TEXTNOD =      end if;
DBGPLSQL:          234 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          235 TEXTNOD =   end if;
DBGPLSQL:          236 TEXTNOD =   if files < memnum then
DBGPLSQL:          237 TEXTNOD =     begin
DBGPLSQL:          238 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          239 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          240 TEXTNOD = );
DBGPLSQL:          241 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          242 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          243 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          244 TEXTNOD =     exception
DBGPLSQL:          245 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          246 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          247 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          248 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          249 TEXTNOD =     end;
DBGPLSQL:          250 TEXTNOD =     files := files + 1;
DBGPLSQL:          251 TEXTNOD =   end if;
DBGPLSQL:          252 TEXTNOD = -- bu_create
DBGPLSQL:          253 TEXTNOD = <>
DBGPLSQL:          254 TEXTNOD =   sys.dbms_backup_restore.backupStatus(state, setid, stamp, pieceno, f
iles,
DBGPLSQL:          255 TEXTNOD =                                          datafiles, incremental, noche
cksum,
DBGPLSQL:          256 TEXTNOD =                                          device);
DBGPLSQL:          257 TEXTNOD =   -- If we get here and the files count is zero, then all files in thi
s
DBGPLSQL:          258 TEXTNOD =   -- backup set were skipped.
DBGPLSQL:          259 TEXTNOD =   if (files = 0) then
DBGPLSQL:          260 TEXTNOD =       sys.dbms_backup_restore.backupCancel;
DBGPLSQL:          261 TEXTNOD =       krmicd.writeMsg(8057, krmicd.getChid);
DBGPLSQL:          262 TEXTNOD =   else
DBGPLSQL:          263 TEXTNOD =       -- ncopies will be substituted for ncopies :=
DBGPLSQL:          264 TEXTNOD =      
DBGPLSQL:          265 PRMVAL =  ncopies := 1;
DBGPLSQL:          266 TEXTNOD =       if (ncopies = 0) then
DBGPLSQL:          267 TEXTNOD =          ncopies := krmicd.getBackupCopies(backup_type, krmicd.getDevT
ype);
DBGPLSQL:          268 TEXTNOD =       end if;
DBGPLSQL:          269 TEXTNOD =       sys.dbms_backup_restore.setLimit(sys.dbms_backup_restore.dupcnt,
DBGPLSQL:          270 TEXTNOD =                                        ncopies);
DBGPLSQL:          271 TEXTNOD =       loop
DBGPLSQL:          272 TEXTNOD =           if not docopies then
DBGPLSQL:          273 TEXTNOD =              krmicd.writeMsg(8038, krmicd.getChid, to_char(pieceno+1),
DBGPLSQL:          274 TEXTNOD =                              to_char(sysdate));
DBGPLSQL:          275 TEXTNOD =           end if;
DBGPLSQL:          276 TEXTNOD =           declare
DBGPLSQL:          277 TEXTNOD =               type names is table of varchar2(512) index by binary_int
eger;
DBGPLSQL:          278 TEXTNOD =               fnames             names;
DBGPLSQL:          279 TEXTNOD =               lformat            names;
DBGPLSQL:          280 TEXTNOD =               lyear              varchar2(4);
DBGPLSQL:          281 TEXTNOD =               lday               varchar2(2);
DBGPLSQL:          282 TEXTNOD =               lmonth             varchar2(2);
DBGPLSQL:          283 TEXTNOD =               copyaux            number;
DBGPLSQL:          284 TEXTNOD =               chtype             varchar2(16);
DBGPLSQL:          285 TEXTNOD =               busy_retries       number := 0;
DBGPLSQL:          286 TEXTNOD =               piecefmt           varchar2(512);
DBGPLSQL:          287 TEXTNOD =               set_stamp          number;
DBGPLSQL:          288 TEXTNOD =               set_count          number;
DBGPLSQL:          289 TEXTNOD =               deffmt             binary_integer;
DBGPLSQL:          290 TEXTNOD =               dest               binary_integer := 0;
DBGPLSQL:          291 TEXTNOD =           begin
DBGPLSQL:          292 TEXTNOD =           <>
DBGPLSQL:          293 TEXTNOD =               begin
DBGPLSQL:          294 TEXTNOD =               select to_char(sysdate, 'YYYY',
DBGPLSQL:          295 TEXTNOD =                              'NLS_CALENDAR=Gregorian'),
DBGPLSQL:          296 TEXTNOD =                      to_char(sysdate, 'MM',
DBGPLSQL:          297 TEXTNOD =                              'NLS_CALENDAR=Gregorian'),
DBGPLSQL:          298 TEXTNOD =                      to_char(sysdate, 'DD',
DBGPLSQL:          299 TEXTNOD =                              'NLS_CALENDAR=Gregorian')
DBGPLSQL:          300 TEXTNOD =                 into lyear, lmonth, lday
DBGPLSQL:          301 TEXTNOD =                 from x$dual;
DBGPLSQL:          302 TEXTNOD =               -- initialize  the format
DBGPLSQL:          303 TEXTNOD =               lformat(0) := NULL;
DBGPLSQL:          304 TEXTNOD =               -- The following are substituted for variable := value
DBGPLSQL:          305 TEXTNOD =               -- format will substituted by array of
DBGPLSQL:          306 TEXTNOD =               -- lformat() := '' , nformat :=
DBGPLSQL:          307 TEXTNOD =               -- and dest
DBGPLSQL:          308 TEXTNOD =              
DBGPLSQL:          309 TEXTNOD =               -- Call genPieceName as many times as ncopies, stored
DBGPLSQL:          310 TEXTNOD =               -- generated names into array of fnames.  Check in the
DBGPLSQL:          311 TEXTNOD =               -- array for duplicated names
DBGPLSQL:          312 TEXTNOD =               copy := 0;
DBGPLSQL:          313 TEXTNOD =               while copy < ncopies loop
DBGPLSQL:          314 TEXTNOD =                   begin
DBGPLSQL:          315 TEXTNOD =                   -- find out the format to use (backup or channel for
mat)
DBGPLSQL:          316 TEXTNOD =                   piecefmt := lformat(mod(copy, nformat));
DBGPLSQL:          317 TEXTNOD =                   krmicd.getFormat(format  => piecefmt,
DBGPLSQL:          318 TEXTNOD =                                    copy    => copy+1,
DBGPLSQL:          319 TEXTNOD =                                    deffmt  => deffmt,
DBGPLSQL:          320 TEXTNOD =                                    dest    => dest);
DBGPLSQL:          321 TEXTNOD =                   -- If doing image copies and the channel is not a DI
SK,
DBGPLSQL:          322 TEXTNOD =                   -- then generate a piece name for DISK type because
server
DBGPLSQL:          323 TEXTNOD =                   -- implicitly creates a disk channel.
DBGPLSQL:          324 TEXTNOD =                   chtype := krmicd.getDevType;
DBGPLSQL:          325 TEXTNOD =                   if chtype is null then
DBGPLSQL:          326 TEXTNOD =                      chtype := 'N/A';
DBGPLSQL:          327 TEXTNOD =                   elsif (docopies and chtype != 'DISK') then
DBGPLSQL:          328 TEXTNOD =                      chtype := 'DISK';
DBGPLSQL:          329 TEXTNOD =                   end if;
DBGPLSQL:          330 TEXTNOD =                  
DBGPLSQL:          331 PRMVAL =  savepiecename := false;
DBGPLSQL:          332 TEXTNOD =                   fnames(copy) :=
DBGPLSQL:          333 TEXTNOD =                       sys.dbms_backup_restore.genPieceName(
DBGPLSQL:          334 TEXTNOD =                          pno => pieceno+1,
DBGPLSQL:          335 TEXTNOD =                          set_count => setid,
DBGPLSQL:          336 TEXTNOD =                          set_stamp => stamp,
DBGPLSQL:          337 TEXTNOD =                          format => piecefmt,
DBGPLSQL:          338 TEXTNOD =                          copyno => copy+1,
DBGPLSQL:          339 TEXTNOD =                          devtype => chtype,
DBGPLSQL:          340 TEXTNOD =                          year => lyear,
DBGPLSQL:          341 TEXTNOD =                          month => lmonth,
DBGPLSQL:          342 TEXTNOD =                          day => lday,
DBGPLSQL:          343 TEXTNOD =                          dbid => foreign_dbid,
DBGPLSQL:          344 TEXTNOD =                          ndbname => foreign_dbname,
DBGPLSQL:          345 TEXTNOD =                          cfseq => NULL,     -- not used
DBGPLSQL:          346 TEXTNOD =                          fileno => dfnumber,
DBGPLSQL:          347 TEXTNOD =                          tsname => tsname,
DBGPLSQL:          348 TEXTNOD =                          logseq => to_char(sequence),
DBGPLSQL:          349 TEXTNOD =                          logthr => thread,
DBGPLSQL:          350 TEXTNOD =                          imagcp => docopies,
DBGPLSQL:          351 TEXTNOD =                          savepname => savepiecename);
DBGPLSQL:          352 TEXTNOD =                   -- check if the format specified is an ASM diskgroup
DBGPLSQL:          353 TEXTNOD =                   istmplt := FALSE;
DBGPLSQL:          354 TEXTNOD =                   if (chtype = 'DISK') then
DBGPLSQL:          355 TEXTNOD =                      sys.dbms_backup_restore.isfileNameOMF(
DBGPLSQL:          356 TEXTNOD =                                               fname   => fnames(copy),
DBGPLSQL:          357 TEXTNOD =                                               isomf   => isomf,
DBGPLSQL:          358 TEXTNOD =                                               isasm   => isasm,
DBGPLSQL:          359 TEXTNOD =                                               istmplt => istmplt);
DBGPLSQL:          360 TEXTNOD =                   end if;
DBGPLSQL:          361 TEXTNOD =                   -- check previous names for collision
DBGPLSQL:          362 TEXTNOD =                   -- allow OMF template
DBGPLSQL:          363 TEXTNOD =                   copyaux := 0;
DBGPLSQL:          364 TEXTNOD =                   while (not istmplt and copyaux < copy) loop
DBGPLSQL:          365 TEXTNOD =                       if fnames(copy) = fnames(copyaux) then
DBGPLSQL:          366 TEXTNOD =                           raise wrong_format;
DBGPLSQL:          367 TEXTNOD =                       end if;
DBGPLSQL:          368 TEXTNOD =                       copyaux := copyaux + 1;
DBGPLSQL:          369 TEXTNOD =                   end loop;
DBGPLSQL:          370 TEXTNOD =                   -- Store the names of the second copy onwards
DBGPLSQL:          371 TEXTNOD =                   if (copy > 0) then
DBGPLSQL:          372 TEXTNOD =                       sys.dbms_backup_restore.backupPieceCrtDupSet(cop
y,
DBGPLSQL:          373 TEXTNOD =                                                                 fnames
(copy));
DBGPLSQL:          374 TEXTNOD =                   end if;
DBGPLSQL:          375 TEXTNOD =                   end;
DBGPLSQL:          376 TEXTNOD =                   copy := copy + 1;
DBGPLSQL:          377 TEXTNOD =               end loop;
DBGPLSQL:          378 TEXTNOD =               -- Ok, now do the actual piece creation, we use the 'old
'
DBGPLSQL:          379 TEXTNOD =               -- interface
DBGPLSQL:          380 TEXTNOD =               copy := 0;
DBGPLSQL:          381 TEXTNOD =               -- CONVERT DATABASE ON TARGET PLATFORM: don't do the act
ual
DBGPLSQL:          382 TEXTNOD =               -- datafile conversion now. Cancel the conversation inst
ead.
DBGPLSQL:          383 TEXTNOD =               if not transontarget then
DBGPLSQL:          384 TEXTNOD =                 sys.dbms_backup_restore.backupPieceCreate(
DBGPLSQL:          385 TEXTNOD =                      fname            => fnames(copy),
DBGPLSQL:          386 TEXTNOD =                      pieceno          => pieceno,
DBGPLSQL:          387 TEXTNOD =                      done             => done,
DBGPLSQL:          388 TEXTNOD =                      handle           => handle,
DBGPLSQL:          389 TEXTNOD =                      comment          => comment,
DBGPLSQL:          390 TEXTNOD =                      media            => media,
DBGPLSQL:          391 TEXTNOD =                      concur           => concur,
DBGPLSQL:          392 TEXTNOD =                     
DBGPLSQL:          393 PRMVAL = params=>null
DBGPLSQL:          394 TEXTNOD = ,
DBGPLSQL:          395 TEXTNOD =                      reuse            => reusefile,
DBGPLSQL:          396 TEXTNOD =                      archlog_failover => larchlog_failover,
DBGPLSQL:          397 TEXTNOD =                      deffmt           => deffmt,
DBGPLSQL:          398 TEXTNOD =                      recid            => cprecid,
DBGPLSQL:          399 TEXTNOD =                      stamp            => cpstamp,
DBGPLSQL:          400 TEXTNOD =                      tag              => cptag,
DBGPLSQL:          401 TEXTNOD =                      docompress       => docompress,
DBGPLSQL:          402 TEXTNOD =                      dest             => dest);
DBGPLSQL:          403 TEXTNOD =               else
DBGPLSQL:          404 TEXTNOD =                 sys.dbms_backup_restore.backupCancel;
DBGPLSQL:          405 TEXTNOD =                 done := TRUE;
DBGPLSQL:          406 TEXTNOD =               end if;
DBGPLSQL:          407 TEXTNOD =               if larchlog_failover then
DBGPLSQL:          408 TEXTNOD =                  failoverdone := TRUE;
DBGPLSQL:          409 TEXTNOD =               end if;
DBGPLSQL:          410 TEXTNOD =               if concur then
DBGPLSQL:          411 TEXTNOD =                  krmicd.writeMsg(8135, fname);
DBGPLSQL:          412 TEXTNOD =               end if;
DBGPLSQL:          413 TEXTNOD =               exception
DBGPLSQL:          414 TEXTNOD =                   when sys.dbms_backup_restore.snapshot_enqueue_busy t
hen
DBGPLSQL:          415 TEXTNOD =                   -- retry up to 5 times, waiting 10 seconds between r
etries
DBGPLSQL:          416 TEXTNOD =                       if busy_retries = 5 then
DBGPLSQL:          417 TEXTNOD =                           krmicd.writeMsg(20029,
DBGPLSQL:          418 TEXTNOD =                                         'cannot make a snapshot contro
lfile');
DBGPLSQL:          419 TEXTNOD =                           raise;
DBGPLSQL:          420 TEXTNOD =                       end if;
DBGPLSQL:          421 TEXTNOD =                       busy_retries := busy_retries + 1;
DBGPLSQL:          422 TEXTNOD =                       krmicd.writeMsg(8512);
DBGPLSQL:          423 TEXTNOD =                       krmicd.sleep(10*busy_retries);
DBGPLSQL:          424 TEXTNOD =                       krmicd.clearErrors;
DBGPLSQL:          425 TEXTNOD =                       goto snapshot;
DBGPLSQL:          426 TEXTNOD =               end;
DBGPLSQL:          427 TEXTNOD =               krmicd.writeIOs(stamp, setid);
DBGPLSQL:          428 TEXTNOD =           end; -- snapshot controlfile stuff
DBGPLSQL:          429 TEXTNOD =           if not docopies then
DBGPLSQL:          430 TEXTNOD =               if ncopies = 1 then
DBGPLSQL:          431 TEXTNOD =                   krmicd.writeMsg(8044, krmicd.getChid, to_char(piecen
o),
DBGPLSQL:          432 TEXTNOD =                                   to_char(sysdate));
DBGPLSQL:          433 TEXTNOD =               else
DBGPLSQL:          434 TEXTNOD =                   -- If we have multiple copies, all copies get the sa
me
DBGPLSQL:          435 TEXTNOD =                   -- tag, print the tag at the beginning if we have on
e.
DBGPLSQL:          436 TEXTNOD =                   if cptag is not null then
DBGPLSQL:          437 TEXTNOD =                      krmicd.writeMsg(8053, krmicd.getChid, to_char(pie
ceno),
DBGPLSQL:          438 TEXTNOD =                                      to_char(sysdate), to_char(ncopies
),
DBGPLSQL:          439 TEXTNOD =                                      cptag);
DBGPLSQL:          440 TEXTNOD =                   else
DBGPLSQL:          441 TEXTNOD =                      krmicd.writeMsg(8045, krmicd.getChid, to_char(pie
ceno),
DBGPLSQL:          442 TEXTNOD =                                      to_char(sysdate), to_char(ncopies
));
DBGPLSQL:          443 TEXTNOD =                   end if;
DBGPLSQL:          444 TEXTNOD =               end if;
DBGPLSQL:          445 TEXTNOD =           end if;
DBGPLSQL:          446 TEXTNOD =           copy := 0;
DBGPLSQL:          447 TEXTNOD =           -- CONVERT DATABASE ON TARGET PLATFORM: no conversion is don
e
DBGPLSQL:          448 TEXTNOD =           -- so no messages.
DBGPLSQL:          449 TEXTNOD =           if not transontarget then
DBGPLSQL:          450 TEXTNOD =             while copy < ncopies loop
DBGPLSQL:          451 TEXTNOD =                 if (copy > 0) then
DBGPLSQL:          452 TEXTNOD =                     -- Retrieve output parameters from server structur
es
DBGPLSQL:          453 TEXTNOD =                     sys.dbms_backup_restore.backupPieceCrtDupGet(copy,
DBGPLSQL:          454 TEXTNOD =                                                                  handl
e,
DBGPLSQL:          455 TEXTNOD =                                                                  comme
nt,
DBGPLSQL:          456 TEXTNOD =                                                                  media
);
DBGPLSQL:          457 TEXTNOD =                 end if;
DBGPLSQL:          458 TEXTNOD =                 if not docopies then
DBGPLSQL:          459 TEXTNOD =                     if comment is null then comment := 'NONE'; end if;
DBGPLSQL:          460 TEXTNOD =                     -- If we have only one copy and a tag, print the t
ag
DBGPLSQL:          461 TEXTNOD =                     -- next to tbe handle.  If we have more than one p
iece
DBGPLSQL:          462 TEXTNOD =                     -- print the handle and comment only, the same if
we do
DBGPLSQL:          463 TEXTNOD =                     -- not have a tag.
DBGPLSQL:          464 TEXTNOD =                     if ncopies = 1 and cptag is not null then
DBGPLSQL:          465 TEXTNOD =                        krmicd.writeMsg(8530, handle, cptag, comment);
DBGPLSQL:          466 TEXTNOD =                     else
DBGPLSQL:          467 TEXTNOD =                        krmicd.writeMsg(8503, handle, comment);
DBGPLSQL:          468 TEXTNOD =                     end if;
DBGPLSQL:          469 TEXTNOD =                 else
DBGPLSQL:          470 TEXTNOD =                     if doconvert then
DBGPLSQL:          471 TEXTNOD =                        krmicd.writeMsg(8588, handle);
DBGPLSQL:          472 TEXTNOD =                     else
DBGPLSQL:          473 TEXTNOD =                        if cptag is NOT NULL then
DBGPLSQL:          474 TEXTNOD =                           krmicd.writeMsg(8586, handle, cptag, to_char
(cprecid),
DBGPLSQL:          475 TEXTNOD =                                           to_char(cpstamp));
DBGPLSQL:          476 TEXTNOD =                        else
DBGPLSQL:          477 TEXTNOD =                           krmicd.writeMsg(8501, handle, to_char(cpreci
d),
DBGPLSQL:          478 TEXTNOD =                                           to_char(cpstamp));
DBGPLSQL:          479 TEXTNOD =                        end if;
DBGPLSQL:          480 TEXTNOD =                     end if;
DBGPLSQL:          481 TEXTNOD =                 end if;
DBGPLSQL:          482 TEXTNOD =                 copy := copy + 1;
DBGPLSQL:          483 TEXTNOD =             end loop;
DBGPLSQL:          484 TEXTNOD =           end if;
DBGPLSQL:          485 TEXTNOD =           if done then
DBGPLSQL:          486 TEXTNOD =              stampd := stamp2date(stamp);
DBGPLSQL:          487 TEXTNOD =              select sysdate-stampd into elapsed from x$dual;
DBGPLSQL:          488 TEXTNOD =              dur2time(elapsed, hours, mins, secs);
DBGPLSQL:          489 TEXTNOD =              if failoverdone then
DBGPLSQL:          490 TEXTNOD =                 krmicd.writemsg(8112, krmicd.getChid);
DBGPLSQL:          491 TEXTNOD =              end if;
DBGPLSQL:          492 TEXTNOD =              if not docopies then
DBGPLSQL:          493 TEXTNOD =                 m := 8540;
DBGPLSQL:          494 TEXTNOD =              else
DBGPLSQL:          495 TEXTNOD =                 if transontarget then
DBGPLSQL:          496 TEXTNOD =                    m := 8306;
DBGPLSQL:          497 TEXTNOD =                 elsif doconvert then
DBGPLSQL:          498 TEXTNOD =                    m := 8590;
DBGPLSQL:          499 TEXTNOD =                 end if;
DBGPLSQL:          500 TEXTNOD =              end if;
DBGPLSQL:          501 TEXTNOD =              krmicd.writemsg(m, krmicd.getChid,
DBGPLSQL:          502 TEXTNOD =                              to_char(hours, 'FM09') || ':' ||
DBGPLSQL:          503 TEXTNOD =                              to_char(mins,  'FM09') || ':' ||
DBGPLSQL:          504 TEXTNOD =                              to_char(secs,  'FM09'));
DBGPLSQL:          505 TEXTNOD =              exit;
DBGPLSQL:          506 TEXTNOD =           end if;
DBGPLSQL:          507 TEXTNOD =       end loop;
DBGPLSQL:          508 TEXTNOD =   end if;
DBGPLSQL:          509 TEXTNOD =   first_time := TRUE;  -- in case we will be deleting what we backed u
p
DBGPLSQL:          510 TEXTNOD =   if (endBackupJobStep(FALSE, 0)) then null; end if;
DBGPLSQL:          511 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:          512 TEXTNOD = exception
DBGPLSQL:          513 TEXTNOD =   when others then
DBGPLSQL:          514 TEXTNOD =      if (not endBackupJobStep(TRUE, sqlcode)) then
DBGPLSQL:          515 TEXTNOD =         raise;
DBGPLSQL:          516 TEXTNOD =      end if;
DBGPLSQL:          517 TEXTNOD =      sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:          518 TEXTNOD = end;
DBGPLSQL:        2 STEP id=2 status=NOT STARTED
DBGPLSQL:            1 TEXTNOD = -- budf_start
DBGPLSQL:            2 TEXTNOD = /* This must be retriable, which means a backup conversation may alrea
dy
DBGPLSQL:            3 TEXTNOD =  * be in progress when this step (re)executes.
DBGPLSQL:            4 TEXTNOD =  */
DBGPLSQL:            5 TEXTNOD = declare
DBGPLSQL:            6 TEXTNOD =   /* backup conversation status variables */
DBGPLSQL:            7 TEXTNOD =   state       binary_integer;
DBGPLSQL:            8 TEXTNOD =   setid       number;
DBGPLSQL:            9 TEXTNOD =   stamp       number;
DBGPLSQL:           10 TEXTNOD =   pieceno     binary_integer;
DBGPLSQL:           11 TEXTNOD =   files       binary_integer;
DBGPLSQL:           12 TEXTNOD =   datafiles   boolean;
DBGPLSQL:           13 TEXTNOD =   incremental boolean;
DBGPLSQL:           14 TEXTNOD =   nochecksum  boolean;
DBGPLSQL:           15 TEXTNOD =   device      boolean;
DBGPLSQL:           16 TEXTNOD =   /* piece creation variables */
DBGPLSQL:           17 TEXTNOD =   done        boolean;
DBGPLSQL:           18 TEXTNOD =   concur      boolean;
DBGPLSQL:           19 TEXTNOD =   /* Miscellaneous */
DBGPLSQL:           20 TEXTNOD =   memnum      number;
DBGPLSQL:           21 TEXTNOD =   dfnumber    number;
DBGPLSQL:           22 TEXTNOD =   cfname      varchar2(512);
DBGPLSQL:           23 TEXTNOD =   copy_recid  number;
DBGPLSQL:           24 TEXTNOD =   copy_stamp  number;
DBGPLSQL:           25 TEXTNOD =   busy_retries number := 0;
DBGPLSQL:           26 TEXTNOD =   resetlogs_change  number;
DBGPLSQL:           27 TEXTNOD =   creation_change   number;
DBGPLSQL:           28 TEXTNOD =   checkpoint_change number;
DBGPLSQL:           29 TEXTNOD =   blksize           number;
DBGPLSQL:           30 TEXTNOD =   blocks            number;
DBGPLSQL:           31 TEXTNOD =   fname             varchar2(1024);
DBGPLSQL:           32 TEXTNOD =   no_delete         binary_integer;
DBGPLSQL:           33 TEXTNOD =   copy         number;
DBGPLSQL:           34 TEXTNOD =   nformat      number := 1;
DBGPLSQL:           35 TEXTNOD =   handle       varchar2(512);
DBGPLSQL:           36 TEXTNOD =   comment      varchar2(80);
DBGPLSQL:           37 TEXTNOD =   media        varchar2(80);
DBGPLSQL:           38 TEXTNOD =   wrong_format      exception;
DBGPLSQL:           39 TEXTNOD =   pragma exception_init(wrong_format, -20039);
DBGPLSQL:           40 TEXTNOD =   first_time        boolean := TRUE;
DBGPLSQL:           41 TEXTNOD =   backup_level      number;
DBGPLSQL:           42 TEXTNOD =   elapsed           number;
DBGPLSQL:           43 TEXTNOD =   stampd            date;
DBGPLSQL:           44 TEXTNOD =   hours             number;
DBGPLSQL:           45 TEXTNOD =   mins              number;
DBGPLSQL:           46 TEXTNOD =   secs              number;
DBGPLSQL:           47 TEXTNOD =   ncopies           number := 0;
DBGPLSQL:           48 TEXTNOD =   docompress        boolean := FALSE;
DBGPLSQL:           49 TEXTNOD = -- backup_type is used to indicate what type of backup is done. This i
s used
DBGPLSQL:           50 TEXTNOD = -- to get configured copies, look at krmkgbac for more comments.
DBGPLSQL:           51 TEXTNOD =   backup_type       number := 2;
DBGPLSQL:           52 TEXTNOD =   isstby            boolean;
DBGPLSQL:           53 TEXTNOD =   larchlog_failover boolean;
DBGPLSQL:           54 TEXTNOD =   failoverdone      boolean := FALSE;
DBGPLSQL:           55 TEXTNOD =   docopies          boolean := FALSE;
DBGPLSQL:           56 TEXTNOD =   cnvrtto           boolean := FALSE;
DBGPLSQL:           57 TEXTNOD =   cnvrtfr           boolean := FALSE;
DBGPLSQL:           58 TEXTNOD =   sameen            boolean := FALSE;
DBGPLSQL:           59 TEXTNOD =   reusefile         boolean := FALSE;
DBGPLSQL:           60 TEXTNOD =   tsname            varchar2(30) := NULL;
DBGPLSQL:           61 TEXTNOD =   thread            number := NULL;
DBGPLSQL:           62 TEXTNOD =   sequence          number := NULL;
DBGPLSQL:           63 TEXTNOD =   m                 number := 8581;
DBGPLSQL:           64 TEXTNOD =   cprecid           number;
DBGPLSQL:           65 TEXTNOD =   cpstamp           number;
DBGPLSQL:           66 TEXTNOD =   rsid              number;
DBGPLSQL:           67 TEXTNOD =   rsts              number;
DBGPLSQL:           68 TEXTNOD =   cptag             varchar2(31) := NULL;
DBGPLSQL:           69 TEXTNOD =   noct              boolean := FALSE;
DBGPLSQL:           70 TEXTNOD =   nooptim           boolean := FALSE;
DBGPLSQL:           71 TEXTNOD =   dontcare          varchar2(1);
DBGPLSQL:           72 TEXTNOD =   pltfrmto          number := NULL;
DBGPLSQL:           73 TEXTNOD =   pltfrmfr          number := NULL;
DBGPLSQL:           74 TEXTNOD =   foreign_dbname    varchar2(8) := NULL;
DBGPLSQL:           75 TEXTNOD =   foreign_dbid      number := NULL;
DBGPLSQL:           76 TEXTNOD =   doconvert         boolean := FALSE;
DBGPLSQL:           77 TEXTNOD =   savepiecename     boolean := FALSE;
DBGPLSQL:           78 TEXTNOD =   transontarget     boolean := FALSE;
DBGPLSQL:           79 TEXTNOD =   convertdb         boolean := FALSE;
DBGPLSQL:           80 TEXTNOD =   isomf             boolean;
DBGPLSQL:           81 TEXTNOD =   istmplt           boolean;
DBGPLSQL:           82 TEXTNOD =   isasm             boolean;
DBGPLSQL:           83 TEXTNOD = begin
DBGPLSQL:           84 TEXTNOD =  
DBGPLSQL:           85 PRMVAL =  backup_level := null;
DBGPLSQL:           86 TEXTNOD =   -- set docopies and convert (if any)
DBGPLSQL:           87 TEXTNOD =  
DBGPLSQL:           88 PRMVAL =  docopies := false;
DBGPLSQL:           89 TEXTNOD =   -- set rsid
DBGPLSQL:           90 TEXTNOD =  
DBGPLSQL:           91 PRMVAL =  rsid := 14;
DBGPLSQL:           92 TEXTNOD =   -- set rsts
DBGPLSQL:           93 TEXTNOD =  
DBGPLSQL:           94 PRMVAL =  rsts := 839775497;
DBGPLSQL:           95 TEXTNOD =   -- set reusefile
DBGPLSQL:           96 TEXTNOD =  
DBGPLSQL:           97 PRMVAL =  reusefile := false;
DBGPLSQL:           98 TEXTNOD =   -- set docompress := FALSE/TRUE
DBGPLSQL:           99 TEXTNOD =  
DBGPLSQL:          100 PRMVAL =  docompress := true;
DBGPLSQL:          101 TEXTNOD =   if pltfrmto is not null or pltfrmfr is not null then
DBGPLSQL:          102 TEXTNOD =      doconvert := true;
DBGPLSQL:          103 TEXTNOD =   end if;
DBGPLSQL:          104 TEXTNOD =   -- If returned FALSE, abort the backup job
DBGPLSQL:          105 TEXTNOD =   if (NOT beginBackupJobStep()) then
DBGPLSQL:          106 TEXTNOD =     return;
DBGPLSQL:          107 TEXTNOD =   end if;
DBGPLSQL:          108 TEXTNOD =  
DBGPLSQL:          109 TEXTNOD =   sys.dbms_backup_restore.backupStatus(state, setid, stamp, pieceno, f
iles,
DBGPLSQL:          110 TEXTNOD =                                        datafiles, incremental, nocheck
sum,
DBGPLSQL:          111 TEXTNOD =                                        device);
DBGPLSQL:          112 TEXTNOD =   if state = sys.dbms_backup_restore.BACKUP_NO_CONVERSATION then
DBGPLSQL:          113 TEXTNOD =     goto start_convo;
DBGPLSQL:          114 TEXTNOD =   elsif state = sys.dbms_backup_restore.BACKUP_NAMING_FILES then
DBGPLSQL:          115 TEXTNOD =     goto name_files;
DBGPLSQL:          116 TEXTNOD =   else
DBGPLSQL:          117 TEXTNOD =     goto create_piece;
DBGPLSQL:          118 TEXTNOD =   end if;
DBGPLSQL:          119 TEXTNOD = <>
DBGPLSQL:          120 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>rsid, rsts=>rsts);
DBGPLSQL:          121 TEXTNOD =   sys.dbms_backup_restore.backupSetDatafile(stamp, setid,
DBGPLSQL:          122 TEXTNOD =                                            
DBGPLSQL:          123 PRMVAL = incremental=>false,nochecksum=>false
DBGPLSQL:          124 TEXTNOD = ,
DBGPLSQL:          125 TEXTNOD =                                            
DBGPLSQL:          126 PRMVAL = tag=>'TAG20140217T145819'
DBGPLSQL:          127 TEXTNOD = ,
DBGPLSQL:          128 TEXTNOD =                                             imagcp    => docopies,
DBGPLSQL:          129 TEXTNOD =                                             convertto => cnvrtto,
DBGPLSQL:          130 TEXTNOD =                                             convertfr => cnvrtfr,
DBGPLSQL:          131 TEXTNOD =                                             pltfrmto  => pltfrmto,
DBGPLSQL:          132 TEXTNOD =                                             pltfrmfr  => pltfrmfr,
DBGPLSQL:          133 TEXTNOD =                                             sameen    => sameen,
DBGPLSQL:          134 TEXTNOD =                                             convertdb => convertdb);
DBGPLSQL:          135 TEXTNOD =   if (noct) then
DBGPLSQL:          136 TEXTNOD =     dontcare :=
DBGPLSQL:          137 TEXTNOD =       sys.dbms_backup_restore.getParm(sys.dbms_backup_restore.incr_noc
t);
DBGPLSQL:          138 TEXTNOD =   end if;
DBGPLSQL:          139 TEXTNOD =   if (nooptim) then
DBGPLSQL:          140 TEXTNOD =     dontcare :=
DBGPLSQL:          141 TEXTNOD =       sys.dbms_backup_restore.getParm(sys.dbms_backup_restore.full_noo
ptim);
DBGPLSQL:          142 TEXTNOD =   end if;
DBGPLSQL:          143 TEXTNOD =   -- Display appropriate message
DBGPLSQL:          144 TEXTNOD =   if transontarget then
DBGPLSQL:          145 TEXTNOD =      krmicd.writeMsg(8305, krmicd.getChid);
DBGPLSQL:          146 TEXTNOD =   elsif docopies then
DBGPLSQL:          147 TEXTNOD =      if doconvert then
DBGPLSQL:          148 TEXTNOD =         krmicd.writeMsg(8589, krmicd.getChid);
DBGPLSQL:          149 TEXTNOD =      else
DBGPLSQL:          150 TEXTNOD =         krmicd.writeMsg(8580, krmicd.getChid);
DBGPLSQL:          151 TEXTNOD =      end if;
DBGPLSQL:          152 TEXTNOD =   else
DBGPLSQL:          153 TEXTNOD =      if backup_level is not null then
DBGPLSQL:          154 TEXTNOD =         if (docompress) then
DBGPLSQL:          155 TEXTNOD =            krmicd.writeMsg(8047, krmicd.getChid, to_char(backup_level)
);
DBGPLSQL:          156 TEXTNOD =         else
DBGPLSQL:          157 TEXTNOD =            krmicd.writeMsg(8048, krmicd.getChid, to_char(backup_level)
);
DBGPLSQL:          158 TEXTNOD =         end if; 
DBGPLSQL:          159 TEXTNOD =      else
DBGPLSQL:          160 TEXTNOD =         if (docompress) then
DBGPLSQL:          161 TEXTNOD =            krmicd.writeMsg(8046, krmicd.getChid);
DBGPLSQL:          162 TEXTNOD =         else
DBGPLSQL:          163 TEXTNOD =            krmicd.writeMsg(8008, krmicd.getChid);
DBGPLSQL:          164 TEXTNOD =         end if;
DBGPLSQL:          165 TEXTNOD =      end if;
DBGPLSQL:          166 TEXTNOD =   end if;
DBGPLSQL:          167 TEXTNOD =   setBackupParams(docopies);
DBGPLSQL:          168 TEXTNOD = <>
DBGPLSQL:          169 TEXTNOD =   deb('budf_start', 'set_stamp=' || stamp || ' set_count=' || setid,
DBGPLSQL:          170 TEXTNOD =       rman_constant.DEBUG_IO, 1);
DBGPLSQL:          171 TEXTNOD = -- budf_name
DBGPLSQL:          172 TEXTNOD =  
DBGPLSQL:          173 PRMVAL =  memnum := 1;
DBGPLSQL:          174 TEXTNOD =  
DBGPLSQL:          175 PRMVAL =  dfnumber := 1; tsname := 'SYSTEM'; fname := '/paic/data/oracle/oradata
/dongkuifeng/oradata/system01.dbf'; blocks := 102400; blksize := 4096;
DBGPLSQL:          176 TEXTNOD =   if (first_time) then
DBGPLSQL:          177 TEXTNOD =      if not docopies then
DBGPLSQL:          178 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          179 TEXTNOD =      end if;
DBGPLSQL:          180 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          181 TEXTNOD =   end if;
DBGPLSQL:          182 TEXTNOD =   if files < memnum then
DBGPLSQL:          183 TEXTNOD =     begin
DBGPLSQL:          184 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          185 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          186 TEXTNOD = );
DBGPLSQL:          187 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          188 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          189 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          190 TEXTNOD =     exception
DBGPLSQL:          191 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          192 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          193 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          194 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          195 TEXTNOD =     end;
DBGPLSQL:          196 TEXTNOD =     files := files + 1;
DBGPLSQL:          197 TEXTNOD =   end if;
DBGPLSQL:          198 TEXTNOD = -- budf_name
DBGPLSQL:          199 TEXTNOD =  
DBGPLSQL:          200 PRMVAL =  memnum := 2;
DBGPLSQL:          201 TEXTNOD =  
DBGPLSQL:          202 PRMVAL =  dfnumber := 9; tsname := 'USERS'; fname := '/paic/data/oracle/oradata/
dongkuifeng/oradata/users02.dbf'; blocks := 12800; blksize := 4096;
DBGPLSQL:          203 TEXTNOD =   if (first_time) then
DBGPLSQL:          204 TEXTNOD =      if not docopies then
DBGPLSQL:          205 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          206 TEXTNOD =      end if;
DBGPLSQL:          207 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          208 TEXTNOD =   end if;
DBGPLSQL:          209 TEXTNOD =   if files < memnum then
DBGPLSQL:          210 TEXTNOD =     begin
DBGPLSQL:          211 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          212 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          213 TEXTNOD = );
DBGPLSQL:          214 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          215 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          216 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          217 TEXTNOD =     exception
DBGPLSQL:          218 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          219 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          220 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          221 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          222 TEXTNOD =     end;
DBGPLSQL:          223 TEXTNOD =     files := files + 1;
DBGPLSQL:          224 TEXTNOD =   end if;
DBGPLSQL:          225 TEXTNOD = -- budf_name
DBGPLSQL:          226 TEXTNOD =  
DBGPLSQL:          227 PRMVAL =  memnum := 3;
DBGPLSQL:          228 TEXTNOD =  
DBGPLSQL:          229 PRMVAL =  dfnumber := 7; tsname := 'ZXR'; fname := '/paic/data/oracle/oradata/do
ngkuifeng/oradata/zxr01.dbf'; blocks := 3855; blksize := 4096;
DBGPLSQL:          230 TEXTNOD =   if (first_time) then
DBGPLSQL:          231 TEXTNOD =      if not docopies then
DBGPLSQL:          232 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          233 TEXTNOD =      end if;
DBGPLSQL:          234 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          235 TEXTNOD =   end if;
DBGPLSQL:          236 TEXTNOD =   if files < memnum then
DBGPLSQL:          237 TEXTNOD =     begin
DBGPLSQL:          238 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          239 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          240 TEXTNOD = );
DBGPLSQL:          241 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          242 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          243 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          244 TEXTNOD =     exception
DBGPLSQL:          245 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          246 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          247 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          248 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          249 TEXTNOD =     end;
DBGPLSQL:          250 TEXTNOD =     files := files + 1;
DBGPLSQL:          251 TEXTNOD =   end if;
DBGPLSQL:          252 TEXTNOD = -- bu_create
DBGPLSQL:          253 TEXTNOD = <>
DBGPLSQL:          254 TEXTNOD =   sys.dbms_backup_restore.backupStatus(state, setid, stamp, pieceno, f
iles,
DBGPLSQL:          255 TEXTNOD =                                          datafiles, incremental, noche
cksum,
DBGPLSQL:          256 TEXTNOD =                                          device);
DBGPLSQL:          257 TEXTNOD =   -- If we get here and the files count is zero, then all files in thi
s
DBGPLSQL:          258 TEXTNOD =   -- backup set were skipped.
DBGPLSQL:          259 TEXTNOD =   if (files = 0) then
DBGPLSQL:          260 TEXTNOD =       sys.dbms_backup_restore.backupCancel;
DBGPLSQL:          261 TEXTNOD =       krmicd.writeMsg(8057, krmicd.getChid);
DBGPLSQL:          262 TEXTNOD =   else
DBGPLSQL:          263 TEXTNOD =       -- ncopies will be substituted for ncopies :=
DBGPLSQL:          264 TEXTNOD =      
DBGPLSQL:          265 PRMVAL =  ncopies := 1;
DBGPLSQL:          266 TEXTNOD =       if (ncopies = 0) then
DBGPLSQL:          267 TEXTNOD =          ncopies := krmicd.getBackupCopies(backup_type, krmicd.getDevT
ype);
DBGPLSQL:          268 TEXTNOD =       end if;
DBGPLSQL:          269 TEXTNOD =       sys.dbms_backup_restore.setLimit(sys.dbms_backup_restore.dupcnt,
DBGPLSQL:          270 TEXTNOD =                                        ncopies);
DBGPLSQL:          271 TEXTNOD =       loop
DBGPLSQL:          272 TEXTNOD =           if not docopies then
DBGPLSQL:          273 TEXTNOD =              krmicd.writeMsg(8038, krmicd.getChid, to_char(pieceno+1),
DBGPLSQL:          274 TEXTNOD =                              to_char(sysdate));
DBGPLSQL:          275 TEXTNOD =           end if;
DBGPLSQL:          276 TEXTNOD =           declare
DBGPLSQL:          277 TEXTNOD =               type names is table of varchar2(512) index by binary_int
eger;
DBGPLSQL:          278 TEXTNOD =               fnames             names;
DBGPLSQL:          279 TEXTNOD =               lformat            names;
DBGPLSQL:          280 TEXTNOD =               lyear              varchar2(4);
DBGPLSQL:          281 TEXTNOD =               lday               varchar2(2);
DBGPLSQL:          282 TEXTNOD =               lmonth             varchar2(2);
DBGPLSQL:          283 TEXTNOD =               copyaux            number;
DBGPLSQL:          284 TEXTNOD =               chtype             varchar2(16);
DBGPLSQL:          285 TEXTNOD =               busy_retries       number := 0;
DBGPLSQL:          286 TEXTNOD =               piecefmt           varchar2(512);
DBGPLSQL:          287 TEXTNOD =               set_stamp          number;
DBGPLSQL:          288 TEXTNOD =               set_count          number;
DBGPLSQL:          289 TEXTNOD =               deffmt             binary_integer;
DBGPLSQL:          290 TEXTNOD =               dest               binary_integer := 0;
DBGPLSQL:          291 TEXTNOD =           begin
DBGPLSQL:          292 TEXTNOD =           <>
DBGPLSQL:          293 TEXTNOD =               begin
DBGPLSQL:          294 TEXTNOD =               select to_char(sysdate, 'YYYY',
DBGPLSQL:          295 TEXTNOD =                              'NLS_CALENDAR=Gregorian'),
DBGPLSQL:          296 TEXTNOD =                      to_char(sysdate, 'MM',
DBGPLSQL:          297 TEXTNOD =                              'NLS_CALENDAR=Gregorian'),
DBGPLSQL:          298 TEXTNOD =                      to_char(sysdate, 'DD',
DBGPLSQL:          299 TEXTNOD =                              'NLS_CALENDAR=Gregorian')
DBGPLSQL:          300 TEXTNOD =                 into lyear, lmonth, lday
DBGPLSQL:          301 TEXTNOD =                 from x$dual;
DBGPLSQL:          302 TEXTNOD =               -- initialize  the format
DBGPLSQL:          303 TEXTNOD =               lformat(0) := NULL;
DBGPLSQL:          304 TEXTNOD =               -- The following are substituted for variable := value
DBGPLSQL:          305 TEXTNOD =               -- format will substituted by array of
DBGPLSQL:          306 TEXTNOD =               -- lformat() := '' , nformat :=
DBGPLSQL:          307 TEXTNOD =               -- and dest
DBGPLSQL:          308 TEXTNOD =              
DBGPLSQL:          309 TEXTNOD =               -- Call genPieceName as many times as ncopies, stored
DBGPLSQL:          310 TEXTNOD =               -- generated names into array of fnames.  Check in the
DBGPLSQL:          311 TEXTNOD =               -- array for duplicated names
DBGPLSQL:          312 TEXTNOD =               copy := 0;
DBGPLSQL:          313 TEXTNOD =               while copy < ncopies loop
DBGPLSQL:          314 TEXTNOD =                   begin
DBGPLSQL:          315 TEXTNOD =                   -- find out the format to use (backup or channel for
mat)
DBGPLSQL:          316 TEXTNOD =                   piecefmt := lformat(mod(copy, nformat));
DBGPLSQL:          317 TEXTNOD =                   krmicd.getFormat(format  => piecefmt,
DBGPLSQL:          318 TEXTNOD =                                    copy    => copy+1,
DBGPLSQL:          319 TEXTNOD =                                    deffmt  => deffmt,
DBGPLSQL:          320 TEXTNOD =                                    dest    => dest);
DBGPLSQL:          321 TEXTNOD =                   -- If doing image copies and the channel is not a DI
SK,
DBGPLSQL:          322 TEXTNOD =                   -- then generate a piece name for DISK type because
server
DBGPLSQL:          323 TEXTNOD =                   -- implicitly creates a disk channel.
DBGPLSQL:          324 TEXTNOD =                   chtype := krmicd.getDevType;
DBGPLSQL:          325 TEXTNOD =                   if chtype is null then
DBGPLSQL:          326 TEXTNOD =                      chtype := 'N/A';
DBGPLSQL:          327 TEXTNOD =                   elsif (docopies and chtype != 'DISK') then
DBGPLSQL:          328 TEXTNOD =                      chtype := 'DISK';
DBGPLSQL:          329 TEXTNOD =                   end if;
DBGPLSQL:          330 TEXTNOD =                  
DBGPLSQL:          331 PRMVAL =  savepiecename := false;
DBGPLSQL:          332 TEXTNOD =                   fnames(copy) :=
DBGPLSQL:          333 TEXTNOD =                       sys.dbms_backup_restore.genPieceName(
DBGPLSQL:          334 TEXTNOD =                          pno => pieceno+1,
DBGPLSQL:          335 TEXTNOD =                          set_count => setid,
DBGPLSQL:          336 TEXTNOD =                          set_stamp => stamp,
DBGPLSQL:          337 TEXTNOD =                          format => piecefmt,
DBGPLSQL:          338 TEXTNOD =                          copyno => copy+1,
DBGPLSQL:          339 TEXTNOD =                          devtype => chtype,
DBGPLSQL:          340 TEXTNOD =                          year => lyear,
DBGPLSQL:          341 TEXTNOD =                          month => lmonth,
DBGPLSQL:          342 TEXTNOD =                          day => lday,
DBGPLSQL:          343 TEXTNOD =                          dbid => foreign_dbid,
DBGPLSQL:          344 TEXTNOD =                          ndbname => foreign_dbname,
DBGPLSQL:          345 TEXTNOD =                          cfseq => NULL,     -- not used
DBGPLSQL:          346 TEXTNOD =                          fileno => dfnumber,
DBGPLSQL:          347 TEXTNOD =                          tsname => tsname,
DBGPLSQL:          348 TEXTNOD =                          logseq => to_char(sequence),
DBGPLSQL:          349 TEXTNOD =                          logthr => thread,
DBGPLSQL:          350 TEXTNOD =                          imagcp => docopies,
DBGPLSQL:          351 TEXTNOD =                          savepname => savepiecename);
DBGPLSQL:          352 TEXTNOD =                   -- check if the format specified is an ASM diskgroup
DBGPLSQL:          353 TEXTNOD =                   istmplt := FALSE;
DBGPLSQL:          354 TEXTNOD =                   if (chtype = 'DISK') then
DBGPLSQL:          355 TEXTNOD =                      sys.dbms_backup_restore.isfileNameOMF(
DBGPLSQL:          356 TEXTNOD =                                               fname   => fnames(copy),
DBGPLSQL:          357 TEXTNOD =                                               isomf   => isomf,
DBGPLSQL:          358 TEXTNOD =                                               isasm   => isasm,
DBGPLSQL:          359 TEXTNOD =                                               istmplt => istmplt);
DBGPLSQL:          360 TEXTNOD =                   end if;
DBGPLSQL:          361 TEXTNOD =                   -- check previous names for collision
DBGPLSQL:          362 TEXTNOD =                   -- allow OMF template
DBGPLSQL:          363 TEXTNOD =                   copyaux := 0;
DBGPLSQL:          364 TEXTNOD =                   while (not istmplt and copyaux < copy) loop
DBGPLSQL:          365 TEXTNOD =                       if fnames(copy) = fnames(copyaux) then
DBGPLSQL:          366 TEXTNOD =                           raise wrong_format;
DBGPLSQL:          367 TEXTNOD =                       end if;
DBGPLSQL:          368 TEXTNOD =                       copyaux := copyaux + 1;
DBGPLSQL:          369 TEXTNOD =                   end loop;
DBGPLSQL:          370 TEXTNOD =                   -- Store the names of the second copy onwards
DBGPLSQL:          371 TEXTNOD =                   if (copy > 0) then
DBGPLSQL:          372 TEXTNOD =                       sys.dbms_backup_restore.backupPieceCrtDupSet(cop
y,
DBGPLSQL:          373 TEXTNOD =                                                                 fnames
(copy));
DBGPLSQL:          374 TEXTNOD =                   end if;
DBGPLSQL:          375 TEXTNOD =                   end;
DBGPLSQL:          376 TEXTNOD =                   copy := copy + 1;
DBGPLSQL:          377 TEXTNOD =               end loop;
DBGPLSQL:          378 TEXTNOD =               -- Ok, now do the actual piece creation, we use the 'old
'
DBGPLSQL:          379 TEXTNOD =               -- interface
DBGPLSQL:          380 TEXTNOD =               copy := 0;
DBGPLSQL:          381 TEXTNOD =               -- CONVERT DATABASE ON TARGET PLATFORM: don't do the act
ual
DBGPLSQL:          382 TEXTNOD =               -- datafile conversion now. Cancel the conversation inst
ead.
DBGPLSQL:          383 TEXTNOD =               if not transontarget then
DBGPLSQL:          384 TEXTNOD =                 sys.dbms_backup_restore.backupPieceCreate(
DBGPLSQL:          385 TEXTNOD =                      fname            => fnames(copy),
DBGPLSQL:          386 TEXTNOD =                      pieceno          => pieceno,
DBGPLSQL:          387 TEXTNOD =                      done             => done,
DBGPLSQL:          388 TEXTNOD =                      handle           => handle,
DBGPLSQL:          389 TEXTNOD =                      comment          => comment,
DBGPLSQL:          390 TEXTNOD =                      media            => media,
DBGPLSQL:          391 TEXTNOD =                      concur           => concur,
DBGPLSQL:          392 TEXTNOD =                     
DBGPLSQL:          393 PRMVAL = params=>null
DBGPLSQL:          394 TEXTNOD = ,
DBGPLSQL:          395 TEXTNOD =                      reuse            => reusefile,
DBGPLSQL:          396 TEXTNOD =                      archlog_failover => larchlog_failover,
DBGPLSQL:          397 TEXTNOD =                      deffmt           => deffmt,
DBGPLSQL:          398 TEXTNOD =                      recid            => cprecid,
DBGPLSQL:          399 TEXTNOD =                      stamp            => cpstamp,
DBGPLSQL:          400 TEXTNOD =                      tag              => cptag,
DBGPLSQL:          401 TEXTNOD =                      docompress       => docompress,
DBGPLSQL:          402 TEXTNOD =                      dest             => dest);
DBGPLSQL:          403 TEXTNOD =               else
DBGPLSQL:          404 TEXTNOD =                 sys.dbms_backup_restore.backupCancel;
DBGPLSQL:          405 TEXTNOD =                 done := TRUE;
DBGPLSQL:          406 TEXTNOD =               end if;
DBGPLSQL:          407 TEXTNOD =               if larchlog_failover then
DBGPLSQL:          408 TEXTNOD =                  failoverdone := TRUE;
DBGPLSQL:          409 TEXTNOD =               end if;
DBGPLSQL:          410 TEXTNOD =               if concur then
DBGPLSQL:          411 TEXTNOD =                  krmicd.writeMsg(8135, fname);
DBGPLSQL:          412 TEXTNOD =               end if;
DBGPLSQL:          413 TEXTNOD =               exception
DBGPLSQL:          414 TEXTNOD =                   when sys.dbms_backup_restore.snapshot_enqueue_busy t
hen
DBGPLSQL:          415 TEXTNOD =                   -- retry up to 5 times, waiting 10 seconds between r
etries
DBGPLSQL:          416 TEXTNOD =                       if busy_retries = 5 then
DBGPLSQL:          417 TEXTNOD =                           krmicd.writeMsg(20029,
DBGPLSQL:          418 TEXTNOD =                                         'cannot make a snapshot contro
lfile');
DBGPLSQL:          419 TEXTNOD =                           raise;
DBGPLSQL:          420 TEXTNOD =                       end if;
DBGPLSQL:          421 TEXTNOD =                       busy_retries := busy_retries + 1;
DBGPLSQL:          422 TEXTNOD =                       krmicd.writeMsg(8512);
DBGPLSQL:          423 TEXTNOD =                       krmicd.sleep(10*busy_retries);
DBGPLSQL:          424 TEXTNOD =                       krmicd.clearErrors;
DBGPLSQL:          425 TEXTNOD =                       goto snapshot;
DBGPLSQL:          426 TEXTNOD =               end;
DBGPLSQL:          427 TEXTNOD =               krmicd.writeIOs(stamp, setid);
DBGPLSQL:          428 TEXTNOD =           end; -- snapshot controlfile stuff
DBGPLSQL:          429 TEXTNOD =           if not docopies then
DBGPLSQL:          430 TEXTNOD =               if ncopies = 1 then
DBGPLSQL:          431 TEXTNOD =                   krmicd.writeMsg(8044, krmicd.getChid, to_char(piecen
o),
DBGPLSQL:          432 TEXTNOD =                                   to_char(sysdate));
DBGPLSQL:          433 TEXTNOD =               else
DBGPLSQL:          434 TEXTNOD =                   -- If we have multiple copies, all copies get the sa
me
DBGPLSQL:          435 TEXTNOD =                   -- tag, print the tag at the beginning if we have on
e.
DBGPLSQL:          436 TEXTNOD =                   if cptag is not null then
DBGPLSQL:          437 TEXTNOD =                      krmicd.writeMsg(8053, krmicd.getChid, to_char(pie
ceno),
DBGPLSQL:          438 TEXTNOD =                                      to_char(sysdate), to_char(ncopies
),
DBGPLSQL:          439 TEXTNOD =                                      cptag);
DBGPLSQL:          440 TEXTNOD =                   else
DBGPLSQL:          441 TEXTNOD =                      krmicd.writeMsg(8045, krmicd.getChid, to_char(pie
ceno),
DBGPLSQL:          442 TEXTNOD =                                      to_char(sysdate), to_char(ncopies
));
DBGPLSQL:          443 TEXTNOD =                   end if;
DBGPLSQL:          444 TEXTNOD =               end if;
DBGPLSQL:          445 TEXTNOD =           end if;
DBGPLSQL:          446 TEXTNOD =           copy := 0;
DBGPLSQL:          447 TEXTNOD =           -- CONVERT DATABASE ON TARGET PLATFORM: no conversion is don
e
DBGPLSQL:          448 TEXTNOD =           -- so no messages.
DBGPLSQL:          449 TEXTNOD =           if not transontarget then
DBGPLSQL:          450 TEXTNOD =             while copy < ncopies loop
DBGPLSQL:          451 TEXTNOD =                 if (copy > 0) then
DBGPLSQL:          452 TEXTNOD =                     -- Retrieve output parameters from server structur
es
DBGPLSQL:          453 TEXTNOD =                     sys.dbms_backup_restore.backupPieceCrtDupGet(copy,
DBGPLSQL:          454 TEXTNOD =                                                                  handl
e,
DBGPLSQL:          455 TEXTNOD =                                                                  comme
nt,
DBGPLSQL:          456 TEXTNOD =                                                                  media
);
DBGPLSQL:          457 TEXTNOD =                 end if;
DBGPLSQL:          458 TEXTNOD =                 if not docopies then
DBGPLSQL:          459 TEXTNOD =                     if comment is null then comment := 'NONE'; end if;
DBGPLSQL:          460 TEXTNOD =                     -- If we have only one copy and a tag, print the t
ag
DBGPLSQL:          461 TEXTNOD =                     -- next to tbe handle.  If we have more than one p
iece
DBGPLSQL:          462 TEXTNOD =                     -- print the handle and comment only, the same if
we do
DBGPLSQL:          463 TEXTNOD =                     -- not have a tag.
DBGPLSQL:          464 TEXTNOD =                     if ncopies = 1 and cptag is not null then
DBGPLSQL:          465 TEXTNOD =                        krmicd.writeMsg(8530, handle, cptag, comment);
DBGPLSQL:          466 TEXTNOD =                     else
DBGPLSQL:          467 TEXTNOD =                        krmicd.writeMsg(8503, handle, comment);
DBGPLSQL:          468 TEXTNOD =                     end if;
DBGPLSQL:          469 TEXTNOD =                 else
DBGPLSQL:          470 TEXTNOD =                     if doconvert then
DBGPLSQL:          471 TEXTNOD =                        krmicd.writeMsg(8588, handle);
DBGPLSQL:          472 TEXTNOD =                     else
DBGPLSQL:          473 TEXTNOD =                        if cptag is NOT NULL then
DBGPLSQL:          474 TEXTNOD =                           krmicd.writeMsg(8586, handle, cptag, to_char
(cprecid),
DBGPLSQL:          475 TEXTNOD =                                           to_char(cpstamp));
DBGPLSQL:          476 TEXTNOD =                        else
DBGPLSQL:          477 TEXTNOD =                           krmicd.writeMsg(8501, handle, to_char(cpreci
d),
DBGPLSQL:          478 TEXTNOD =                                           to_char(cpstamp));
DBGPLSQL:          479 TEXTNOD =                        end if;
DBGPLSQL:          480 TEXTNOD =                     end if;
DBGPLSQL:          481 TEXTNOD =                 end if;
DBGPLSQL:          482 TEXTNOD =                 copy := copy + 1;
DBGPLSQL:          483 TEXTNOD =             end loop;
DBGPLSQL:          484 TEXTNOD =           end if;
DBGPLSQL:          485 TEXTNOD =           if done then
DBGPLSQL:          486 TEXTNOD =              stampd := stamp2date(stamp);
DBGPLSQL:          487 TEXTNOD =              select sysdate-stampd into elapsed from x$dual;
DBGPLSQL:          488 TEXTNOD =              dur2time(elapsed, hours, mins, secs);
DBGPLSQL:          489 TEXTNOD =              if failoverdone then
DBGPLSQL:          490 TEXTNOD =                 krmicd.writemsg(8112, krmicd.getChid);
DBGPLSQL:          491 TEXTNOD =              end if;
DBGPLSQL:          492 TEXTNOD =              if not docopies then
DBGPLSQL:          493 TEXTNOD =                 m := 8540;
DBGPLSQL:          494 TEXTNOD =              else
DBGPLSQL:          495 TEXTNOD =                 if transontarget then
DBGPLSQL:          496 TEXTNOD =                    m := 8306;
DBGPLSQL:          497 TEXTNOD =                 elsif doconvert then
DBGPLSQL:          498 TEXTNOD =                    m := 8590;
DBGPLSQL:          499 TEXTNOD =                 end if;
DBGPLSQL:          500 TEXTNOD =              end if;
DBGPLSQL:          501 TEXTNOD =              krmicd.writemsg(m, krmicd.getChid,
DBGPLSQL:          502 TEXTNOD =                              to_char(hours, 'FM09') || ':' ||
DBGPLSQL:          503 TEXTNOD =                              to_char(mins,  'FM09') || ':' ||
DBGPLSQL:          504 TEXTNOD =                              to_char(secs,  'FM09'));
DBGPLSQL:          505 TEXTNOD =              exit;
DBGPLSQL:          506 TEXTNOD =           end if;
DBGPLSQL:          507 TEXTNOD =       end loop;
DBGPLSQL:          508 TEXTNOD =   end if;
DBGPLSQL:          509 TEXTNOD =   first_time := TRUE;  -- in case we will be deleting what we backed u
p
DBGPLSQL:          510 TEXTNOD =   if (endBackupJobStep(FALSE, 0)) then null; end if;
DBGPLSQL:          511 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:          512 TEXTNOD = exception
DBGPLSQL:          513 TEXTNOD =   when others then
DBGPLSQL:          514 TEXTNOD =      if (not endBackupJobStep(TRUE, sqlcode)) then
DBGPLSQL:          515 TEXTNOD =         raise;
DBGPLSQL:          516 TEXTNOD =      end if;
DBGPLSQL:          517 TEXTNOD =      sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:          518 TEXTNOD = end;
DBGPLSQL:        3 STEP id=3 status=NOT STARTED
DBGPLSQL:            1 TEXTNOD = -- budf_start
DBGPLSQL:            2 TEXTNOD = /* This must be retriable, which means a backup conversation may alrea
dy
DBGPLSQL:            3 TEXTNOD =  * be in progress when this step (re)executes.
DBGPLSQL:            4 TEXTNOD =  */
DBGPLSQL:            5 TEXTNOD = declare
DBGPLSQL:            6 TEXTNOD =   /* backup conversation status variables */
DBGPLSQL:            7 TEXTNOD =   state       binary_integer;
DBGPLSQL:            8 TEXTNOD =   setid       number;
DBGPLSQL:            9 TEXTNOD =   stamp       number;
DBGPLSQL:           10 TEXTNOD =   pieceno     binary_integer;
DBGPLSQL:           11 TEXTNOD =   files       binary_integer;
DBGPLSQL:           12 TEXTNOD =   datafiles   boolean;
DBGPLSQL:           13 TEXTNOD =   incremental boolean;
DBGPLSQL:           14 TEXTNOD =   nochecksum  boolean;
DBGPLSQL:           15 TEXTNOD =   device      boolean;
DBGPLSQL:           16 TEXTNOD =   /* piece creation variables */
DBGPLSQL:           17 TEXTNOD =   done        boolean;
DBGPLSQL:           18 TEXTNOD =   concur      boolean;
DBGPLSQL:           19 TEXTNOD =   /* Miscellaneous */
DBGPLSQL:           20 TEXTNOD =   memnum      number;
DBGPLSQL:           21 TEXTNOD =   dfnumber    number;
DBGPLSQL:           22 TEXTNOD =   cfname      varchar2(512);
DBGPLSQL:           23 TEXTNOD =   copy_recid  number;
DBGPLSQL:           24 TEXTNOD =   copy_stamp  number;
DBGPLSQL:           25 TEXTNOD =   busy_retries number := 0;
DBGPLSQL:           26 TEXTNOD =   resetlogs_change  number;
DBGPLSQL:           27 TEXTNOD =   creation_change   number;
DBGPLSQL:           28 TEXTNOD =   checkpoint_change number;
DBGPLSQL:           29 TEXTNOD =   blksize           number;
DBGPLSQL:           30 TEXTNOD =   blocks            number;
DBGPLSQL:           31 TEXTNOD =   fname             varchar2(1024);
DBGPLSQL:           32 TEXTNOD =   no_delete         binary_integer;
DBGPLSQL:           33 TEXTNOD =   copy         number;
DBGPLSQL:           34 TEXTNOD =   nformat      number := 1;
DBGPLSQL:           35 TEXTNOD =   handle       varchar2(512);
DBGPLSQL:           36 TEXTNOD =   comment      varchar2(80);
DBGPLSQL:           37 TEXTNOD =   media        varchar2(80);
DBGPLSQL:           38 TEXTNOD =   wrong_format      exception;
DBGPLSQL:           39 TEXTNOD =   pragma exception_init(wrong_format, -20039);
DBGPLSQL:           40 TEXTNOD =   first_time        boolean := TRUE;
DBGPLSQL:           41 TEXTNOD =   backup_level      number;
DBGPLSQL:           42 TEXTNOD =   elapsed           number;
DBGPLSQL:           43 TEXTNOD =   stampd            date;
DBGPLSQL:           44 TEXTNOD =   hours             number;
DBGPLSQL:           45 TEXTNOD =   mins              number;
DBGPLSQL:           46 TEXTNOD =   secs              number;
DBGPLSQL:           47 TEXTNOD =   ncopies           number := 0;
DBGPLSQL:           48 TEXTNOD =   docompress        boolean := FALSE;
DBGPLSQL:           49 TEXTNOD = -- backup_type is used to indicate what type of backup is done. This i
s used
DBGPLSQL:           50 TEXTNOD = -- to get configured copies, look at krmkgbac for more comments.
DBGPLSQL:           51 TEXTNOD =   backup_type       number := 2;
DBGPLSQL:           52 TEXTNOD =   isstby            boolean;
DBGPLSQL:           53 TEXTNOD =   larchlog_failover boolean;
DBGPLSQL:           54 TEXTNOD =   failoverdone      boolean := FALSE;
DBGPLSQL:           55 TEXTNOD =   docopies          boolean := FALSE;
DBGPLSQL:           56 TEXTNOD =   cnvrtto           boolean := FALSE;
DBGPLSQL:           57 TEXTNOD =   cnvrtfr           boolean := FALSE;
DBGPLSQL:           58 TEXTNOD =   sameen            boolean := FALSE;
DBGPLSQL:           59 TEXTNOD =   reusefile         boolean := FALSE;
DBGPLSQL:           60 TEXTNOD =   tsname            varchar2(30) := NULL;
DBGPLSQL:           61 TEXTNOD =   thread            number := NULL;
DBGPLSQL:           62 TEXTNOD =   sequence          number := NULL;
DBGPLSQL:           63 TEXTNOD =   m                 number := 8581;
DBGPLSQL:           64 TEXTNOD =   cprecid           number;
DBGPLSQL:           65 TEXTNOD =   cpstamp           number;
DBGPLSQL:           66 TEXTNOD =   rsid              number;
DBGPLSQL:           67 TEXTNOD =   rsts              number;
DBGPLSQL:           68 TEXTNOD =   cptag             varchar2(31) := NULL;
DBGPLSQL:           69 TEXTNOD =   noct              boolean := FALSE;
DBGPLSQL:           70 TEXTNOD =   nooptim           boolean := FALSE;
DBGPLSQL:           71 TEXTNOD =   dontcare          varchar2(1);
DBGPLSQL:           72 TEXTNOD =   pltfrmto          number := NULL;
DBGPLSQL:           73 TEXTNOD =   pltfrmfr          number := NULL;
DBGPLSQL:           74 TEXTNOD =   foreign_dbname    varchar2(8) := NULL;
DBGPLSQL:           75 TEXTNOD =   foreign_dbid      number := NULL;
DBGPLSQL:           76 TEXTNOD =   doconvert         boolean := FALSE;
DBGPLSQL:           77 TEXTNOD =   savepiecename     boolean := FALSE;
DBGPLSQL:           78 TEXTNOD =   transontarget     boolean := FALSE;
DBGPLSQL:           79 TEXTNOD =   convertdb         boolean := FALSE;
DBGPLSQL:           80 TEXTNOD =   isomf             boolean;
DBGPLSQL:           81 TEXTNOD =   istmplt           boolean;
DBGPLSQL:           82 TEXTNOD =   isasm             boolean;
DBGPLSQL:           83 TEXTNOD = begin
DBGPLSQL:           84 TEXTNOD =  
DBGPLSQL:           85 PRMVAL =  backup_level := null;
DBGPLSQL:           86 TEXTNOD =   -- set docopies and convert (if any)
DBGPLSQL:           87 TEXTNOD =  
DBGPLSQL:           88 PRMVAL =  docopies := false;
DBGPLSQL:           89 TEXTNOD =   -- set rsid
DBGPLSQL:           90 TEXTNOD =  
DBGPLSQL:           91 PRMVAL =  rsid := 14;
DBGPLSQL:           92 TEXTNOD =   -- set rsts
DBGPLSQL:           93 TEXTNOD =  
DBGPLSQL:           94 PRMVAL =  rsts := 839775497;
DBGPLSQL:           95 TEXTNOD =   -- set reusefile
DBGPLSQL:           96 TEXTNOD =  
DBGPLSQL:           97 PRMVAL =  reusefile := false;
DBGPLSQL:           98 TEXTNOD =   -- set docompress := FALSE/TRUE
DBGPLSQL:           99 TEXTNOD =  
DBGPLSQL:          100 PRMVAL =  docompress := true;
DBGPLSQL:          101 TEXTNOD =   if pltfrmto is not null or pltfrmfr is not null then
DBGPLSQL:          102 TEXTNOD =      doconvert := true;
DBGPLSQL:          103 TEXTNOD =   end if;
DBGPLSQL:          104 TEXTNOD =   -- If returned FALSE, abort the backup job
DBGPLSQL:          105 TEXTNOD =   if (NOT beginBackupJobStep()) then
DBGPLSQL:          106 TEXTNOD =     return;
DBGPLSQL:          107 TEXTNOD =   end if;
DBGPLSQL:          108 TEXTNOD =  
DBGPLSQL:          109 TEXTNOD =   sys.dbms_backup_restore.backupStatus(state, setid, stamp, pieceno, f
iles,
DBGPLSQL:          110 TEXTNOD =                                        datafiles, incremental, nocheck
sum,
DBGPLSQL:          111 TEXTNOD =                                        device);
DBGPLSQL:          112 TEXTNOD =   if state = sys.dbms_backup_restore.BACKUP_NO_CONVERSATION then
DBGPLSQL:          113 TEXTNOD =     goto start_convo;
DBGPLSQL:          114 TEXTNOD =   elsif state = sys.dbms_backup_restore.BACKUP_NAMING_FILES then
DBGPLSQL:          115 TEXTNOD =     goto name_files;
DBGPLSQL:          116 TEXTNOD =   else
DBGPLSQL:          117 TEXTNOD =     goto create_piece;
DBGPLSQL:          118 TEXTNOD =   end if;
DBGPLSQL:          119 TEXTNOD = <>
DBGPLSQL:          120 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>rsid, rsts=>rsts);
DBGPLSQL:          121 TEXTNOD =   sys.dbms_backup_restore.backupSetDatafile(stamp, setid,
DBGPLSQL:          122 TEXTNOD =                                            
DBGPLSQL:          123 PRMVAL = incremental=>false,nochecksum=>false
DBGPLSQL:          124 TEXTNOD = ,
DBGPLSQL:          125 TEXTNOD =                                            
DBGPLSQL:          126 PRMVAL = tag=>'TAG20140217T145819'
DBGPLSQL:          127 TEXTNOD = ,
DBGPLSQL:          128 TEXTNOD =                                             imagcp    => docopies,
DBGPLSQL:          129 TEXTNOD =                                             convertto => cnvrtto,
DBGPLSQL:          130 TEXTNOD =                                             convertfr => cnvrtfr,
DBGPLSQL:          131 TEXTNOD =                                             pltfrmto  => pltfrmto,
DBGPLSQL:          132 TEXTNOD =                                             pltfrmfr  => pltfrmfr,
DBGPLSQL:          133 TEXTNOD =                                             sameen    => sameen,
DBGPLSQL:          134 TEXTNOD =                                             convertdb => convertdb);
DBGPLSQL:          135 TEXTNOD =   if (noct) then
DBGPLSQL:          136 TEXTNOD =     dontcare :=
DBGPLSQL:          137 TEXTNOD =       sys.dbms_backup_restore.getParm(sys.dbms_backup_restore.incr_noc
t);
DBGPLSQL:          138 TEXTNOD =   end if;
DBGPLSQL:          139 TEXTNOD =   if (nooptim) then
DBGPLSQL:          140 TEXTNOD =     dontcare :=
DBGPLSQL:          141 TEXTNOD =       sys.dbms_backup_restore.getParm(sys.dbms_backup_restore.full_noo
ptim);
DBGPLSQL:          142 TEXTNOD =   end if;
DBGPLSQL:          143 TEXTNOD =   -- Display appropriate message
DBGPLSQL:          144 TEXTNOD =   if transontarget then
DBGPLSQL:          145 TEXTNOD =      krmicd.writeMsg(8305, krmicd.getChid);
DBGPLSQL:          146 TEXTNOD =   elsif docopies then
DBGPLSQL:          147 TEXTNOD =      if doconvert then
DBGPLSQL:          148 TEXTNOD =         krmicd.writeMsg(8589, krmicd.getChid);
DBGPLSQL:          149 TEXTNOD =      else
DBGPLSQL:          150 TEXTNOD =         krmicd.writeMsg(8580, krmicd.getChid);
DBGPLSQL:          151 TEXTNOD =      end if;
DBGPLSQL:          152 TEXTNOD =   else
DBGPLSQL:          153 TEXTNOD =      if backup_level is not null then
DBGPLSQL:          154 TEXTNOD =         if (docompress) then
DBGPLSQL:          155 TEXTNOD =            krmicd.writeMsg(8047, krmicd.getChid, to_char(backup_level)
);
DBGPLSQL:          156 TEXTNOD =         else
DBGPLSQL:          157 TEXTNOD =            krmicd.writeMsg(8048, krmicd.getChid, to_char(backup_level)
);
DBGPLSQL:          158 TEXTNOD =         end if; 
DBGPLSQL:          159 TEXTNOD =      else
DBGPLSQL:          160 TEXTNOD =         if (docompress) then
DBGPLSQL:          161 TEXTNOD =            krmicd.writeMsg(8046, krmicd.getChid);
DBGPLSQL:          162 TEXTNOD =         else
DBGPLSQL:          163 TEXTNOD =            krmicd.writeMsg(8008, krmicd.getChid);
DBGPLSQL:          164 TEXTNOD =         end if;
DBGPLSQL:          165 TEXTNOD =      end if;
DBGPLSQL:          166 TEXTNOD =   end if;
DBGPLSQL:          167 TEXTNOD =   setBackupParams(docopies);
DBGPLSQL:          168 TEXTNOD = <>
DBGPLSQL:          169 TEXTNOD =   deb('budf_start', 'set_stamp=' || stamp || ' set_count=' || setid,
DBGPLSQL:          170 TEXTNOD =       rman_constant.DEBUG_IO, 1);
DBGPLSQL:          171 TEXTNOD = -- budf_name
DBGPLSQL:          172 TEXTNOD =  
DBGPLSQL:          173 PRMVAL =  memnum := 1;
DBGPLSQL:          174 TEXTNOD =  
DBGPLSQL:          175 PRMVAL =  dfnumber := 2; tsname := 'UNDOTBS1'; fname := '/paic/data/oracle/orada
ta/dongkuifeng/oradata/undotbs01.dbf'; blocks := 79360; blksize := 4096;
DBGPLSQL:          176 TEXTNOD =   if (first_time) then
DBGPLSQL:          177 TEXTNOD =      if not docopies then
DBGPLSQL:          178 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          179 TEXTNOD =      end if;
DBGPLSQL:          180 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          181 TEXTNOD =   end if;
DBGPLSQL:          182 TEXTNOD =   if files < memnum then
DBGPLSQL:          183 TEXTNOD =     begin
DBGPLSQL:          184 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          185 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          186 TEXTNOD = );
DBGPLSQL:          187 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          188 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          189 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          190 TEXTNOD =     exception
DBGPLSQL:          191 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          192 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          193 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          194 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          195 TEXTNOD =     end;
DBGPLSQL:          196 TEXTNOD =     files := files + 1;
DBGPLSQL:          197 TEXTNOD =   end if;
DBGPLSQL:          198 TEXTNOD = -- budf_name
DBGPLSQL:          199 TEXTNOD =  
DBGPLSQL:          200 PRMVAL =  memnum := 2;
DBGPLSQL:          201 TEXTNOD =  
DBGPLSQL:          202 PRMVAL =  dfnumber := 3; tsname := 'SYSAUX'; fname := '/paic/data/oracle/oradata
/dongkuifeng/oradata/sysaux01.dbf'; blocks := 69120; blksize := 4096;
DBGPLSQL:          203 TEXTNOD =   if (first_time) then
DBGPLSQL:          204 TEXTNOD =      if not docopies then
DBGPLSQL:          205 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          206 TEXTNOD =      end if;
DBGPLSQL:          207 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          208 TEXTNOD =   end if;
DBGPLSQL:          209 TEXTNOD =   if files < memnum then
DBGPLSQL:          210 TEXTNOD =     begin
DBGPLSQL:          211 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          212 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          213 TEXTNOD = );
DBGPLSQL:          214 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          215 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          216 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          217 TEXTNOD =     exception
DBGPLSQL:          218 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          219 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          220 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          221 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          222 TEXTNOD =     end;
DBGPLSQL:          223 TEXTNOD =     files := files + 1;
DBGPLSQL:          224 TEXTNOD =   end if;
DBGPLSQL:          225 TEXTNOD = -- budf_name
DBGPLSQL:          226 TEXTNOD =  
DBGPLSQL:          227 PRMVAL =  memnum := 3;
DBGPLSQL:          228 TEXTNOD =  
DBGPLSQL:          229 PRMVAL =  dfnumber := 5; tsname := 'UNDODJY'; fname := '/paic/data/oracle/oradat
a/dongkuifeng/oradata/undodjy.dbf'; blocks := 256; blksize := 4096;
DBGPLSQL:          230 TEXTNOD =   if (first_time) then
DBGPLSQL:          231 TEXTNOD =      if not docopies then
DBGPLSQL:          232 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          233 TEXTNOD =      end if;
DBGPLSQL:          234 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          235 TEXTNOD =   end if;
DBGPLSQL:          236 TEXTNOD =   if files < memnum then
DBGPLSQL:          237 TEXTNOD =     begin
DBGPLSQL:          238 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          239 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          240 TEXTNOD = );
DBGPLSQL:          241 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          242 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          243 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          244 TEXTNOD =     exception
DBGPLSQL:          245 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          246 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          247 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          248 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          249 TEXTNOD =     end;
DBGPLSQL:          250 TEXTNOD =     files := files + 1;
DBGPLSQL:          251 TEXTNOD =   end if;
DBGPLSQL:          252 TEXTNOD = -- bu_create
DBGPLSQL:          253 TEXTNOD = <>
DBGPLSQL:          254 TEXTNOD =   sys.dbms_backup_restore.backupStatus(state, setid, stamp, pieceno, f
iles,
DBGPLSQL:          255 TEXTNOD =                                          datafiles, incremental, noche
cksum,
DBGPLSQL:          256 TEXTNOD =                                          device);
DBGPLSQL:          257 TEXTNOD =   -- If we get here and the files count is zero, then all files in thi
s
DBGPLSQL:          258 TEXTNOD =   -- backup set were skipped.
DBGPLSQL:          259 TEXTNOD =   if (files = 0) then
DBGPLSQL:          260 TEXTNOD =       sys.dbms_backup_restore.backupCancel;
DBGPLSQL:          261 TEXTNOD =       krmicd.writeMsg(8057, krmicd.getChid);
DBGPLSQL:          262 TEXTNOD =   else
DBGPLSQL:          263 TEXTNOD =       -- ncopies will be substituted for ncopies :=
DBGPLSQL:          264 TEXTNOD =      
DBGPLSQL:          265 PRMVAL =  ncopies := 1;
DBGPLSQL:          266 TEXTNOD =       if (ncopies = 0) then
DBGPLSQL:          267 TEXTNOD =          ncopies := krmicd.getBackupCopies(backup_type, krmicd.getDevT
ype);
DBGPLSQL:          268 TEXTNOD =       end if;
DBGPLSQL:          269 TEXTNOD =       sys.dbms_backup_restore.setLimit(sys.dbms_backup_restore.dupcnt,
DBGPLSQL:          270 TEXTNOD =                                        ncopies);
DBGPLSQL:          271 TEXTNOD =       loop
DBGPLSQL:          272 TEXTNOD =           if not docopies then
DBGPLSQL:          273 TEXTNOD =              krmicd.writeMsg(8038, krmicd.getChid, to_char(pieceno+1),
DBGPLSQL:          274 TEXTNOD =                              to_char(sysdate));
DBGPLSQL:          275 TEXTNOD =           end if;
DBGPLSQL:          276 TEXTNOD =           declare
DBGPLSQL:          277 TEXTNOD =               type names is table of varchar2(512) index by binary_int
eger;
DBGPLSQL:          278 TEXTNOD =               fnames             names;
DBGPLSQL:          279 TEXTNOD =               lformat            names;
DBGPLSQL:          280 TEXTNOD =               lyear              varchar2(4);
DBGPLSQL:          281 TEXTNOD =               lday               varchar2(2);
DBGPLSQL:          282 TEXTNOD =               lmonth             varchar2(2);
DBGPLSQL:          283 TEXTNOD =               copyaux            number;
DBGPLSQL:          284 TEXTNOD =               chtype             varchar2(16);
DBGPLSQL:          285 TEXTNOD =               busy_retries       number := 0;
DBGPLSQL:          286 TEXTNOD =               piecefmt           varchar2(512);
DBGPLSQL:          287 TEXTNOD =               set_stamp          number;
DBGPLSQL:          288 TEXTNOD =               set_count          number;
DBGPLSQL:          289 TEXTNOD =               deffmt             binary_integer;
DBGPLSQL:          290 TEXTNOD =               dest               binary_integer := 0;
DBGPLSQL:          291 TEXTNOD =           begin
DBGPLSQL:          292 TEXTNOD =           <>
DBGPLSQL:          293 TEXTNOD =               begin
DBGPLSQL:          294 TEXTNOD =               select to_char(sysdate, 'YYYY',
DBGPLSQL:          295 TEXTNOD =                              'NLS_CALENDAR=Gregorian'),
DBGPLSQL:          296 TEXTNOD =                      to_char(sysdate, 'MM',
DBGPLSQL:          297 TEXTNOD =                              'NLS_CALENDAR=Gregorian'),
DBGPLSQL:          298 TEXTNOD =                      to_char(sysdate, 'DD',
DBGPLSQL:          299 TEXTNOD =                              'NLS_CALENDAR=Gregorian')
DBGPLSQL:          300 TEXTNOD =                 into lyear, lmonth, lday
DBGPLSQL:          301 TEXTNOD =                 from x$dual;
DBGPLSQL:          302 TEXTNOD =               -- initialize  the format
DBGPLSQL:          303 TEXTNOD =               lformat(0) := NULL;
DBGPLSQL:          304 TEXTNOD =               -- The following are substituted for variable := value
DBGPLSQL:          305 TEXTNOD =               -- format will substituted by array of
DBGPLSQL:          306 TEXTNOD =               -- lformat() := '' , nformat :=
DBGPLSQL:          307 TEXTNOD =               -- and dest
DBGPLSQL:          308 TEXTNOD =              
DBGPLSQL:          309 TEXTNOD =               -- Call genPieceName as many times as ncopies, stored
DBGPLSQL:          310 TEXTNOD =               -- generated names into array of fnames.  Check in the
DBGPLSQL:          311 TEXTNOD =               -- array for duplicated names
DBGPLSQL:          312 TEXTNOD =               copy := 0;
DBGPLSQL:          313 TEXTNOD =               while copy < ncopies loop
DBGPLSQL:          314 TEXTNOD =                   begin
DBGPLSQL:          315 TEXTNOD =                   -- find out the format to use (backup or channel for
mat)
DBGPLSQL:          316 TEXTNOD =                   piecefmt := lformat(mod(copy, nformat));
DBGPLSQL:          317 TEXTNOD =                   krmicd.getFormat(format  => piecefmt,
DBGPLSQL:          318 TEXTNOD =                                    copy    => copy+1,
DBGPLSQL:          319 TEXTNOD =                                    deffmt  => deffmt,
DBGPLSQL:          320 TEXTNOD =                                    dest    => dest);
DBGPLSQL:          321 TEXTNOD =                   -- If doing image copies and the channel is not a DI
SK,
DBGPLSQL:          322 TEXTNOD =                   -- then generate a piece name for DISK type because
server
DBGPLSQL:          323 TEXTNOD =                   -- implicitly creates a disk channel.
DBGPLSQL:          324 TEXTNOD =                   chtype := krmicd.getDevType;
DBGPLSQL:          325 TEXTNOD =                   if chtype is null then
DBGPLSQL:          326 TEXTNOD =                      chtype := 'N/A';
DBGPLSQL:          327 TEXTNOD =                   elsif (docopies and chtype != 'DISK') then
DBGPLSQL:          328 TEXTNOD =                      chtype := 'DISK';
DBGPLSQL:          329 TEXTNOD =                   end if;
DBGPLSQL:          330 TEXTNOD =                  
DBGPLSQL:          331 PRMVAL =  savepiecename := false;
DBGPLSQL:          332 TEXTNOD =                   fnames(copy) :=
DBGPLSQL:          333 TEXTNOD =                       sys.dbms_backup_restore.genPieceName(
DBGPLSQL:          334 TEXTNOD =                          pno => pieceno+1,
DBGPLSQL:          335 TEXTNOD =                          set_count => setid,
DBGPLSQL:          336 TEXTNOD =                          set_stamp => stamp,
DBGPLSQL:          337 TEXTNOD =                          format => piecefmt,
DBGPLSQL:          338 TEXTNOD =                          copyno => copy+1,
DBGPLSQL:          339 TEXTNOD =                          devtype => chtype,
DBGPLSQL:          340 TEXTNOD =                          year => lyear,
DBGPLSQL:          341 TEXTNOD =                          month => lmonth,
DBGPLSQL:          342 TEXTNOD =                          day => lday,
DBGPLSQL:          343 TEXTNOD =                          dbid => foreign_dbid,
DBGPLSQL:          344 TEXTNOD =                          ndbname => foreign_dbname,
DBGPLSQL:          345 TEXTNOD =                          cfseq => NULL,     -- not used
DBGPLSQL:          346 TEXTNOD =                          fileno => dfnumber,
DBGPLSQL:          347 TEXTNOD =                          tsname => tsname,
DBGPLSQL:          348 TEXTNOD =                          logseq => to_char(sequence),
DBGPLSQL:          349 TEXTNOD =                          logthr => thread,
DBGPLSQL:          350 TEXTNOD =                          imagcp => docopies,
DBGPLSQL:          351 TEXTNOD =                          savepname => savepiecename);
DBGPLSQL:          352 TEXTNOD =                   -- check if the format specified is an ASM diskgroup
DBGPLSQL:          353 TEXTNOD =                   istmplt := FALSE;
DBGPLSQL:          354 TEXTNOD =                   if (chtype = 'DISK') then
DBGPLSQL:          355 TEXTNOD =                      sys.dbms_backup_restore.isfileNameOMF(
DBGPLSQL:          356 TEXTNOD =                                               fname   => fnames(copy),
DBGPLSQL:          357 TEXTNOD =                                               isomf   => isomf,
DBGPLSQL:          358 TEXTNOD =                                               isasm   => isasm,
DBGPLSQL:          359 TEXTNOD =                                               istmplt => istmplt);
DBGPLSQL:          360 TEXTNOD =                   end if;
DBGPLSQL:          361 TEXTNOD =                   -- check previous names for collision
DBGPLSQL:          362 TEXTNOD =                   -- allow OMF template
DBGPLSQL:          363 TEXTNOD =                   copyaux := 0;
DBGPLSQL:          364 TEXTNOD =                   while (not istmplt and copyaux < copy) loop
DBGPLSQL:          365 TEXTNOD =                       if fnames(copy) = fnames(copyaux) then
DBGPLSQL:          366 TEXTNOD =                           raise wrong_format;
DBGPLSQL:          367 TEXTNOD =                       end if;
DBGPLSQL:          368 TEXTNOD =                       copyaux := copyaux + 1;
DBGPLSQL:          369 TEXTNOD =                   end loop;
DBGPLSQL:          370 TEXTNOD =                   -- Store the names of the second copy onwards
DBGPLSQL:          371 TEXTNOD =                   if (copy > 0) then
DBGPLSQL:          372 TEXTNOD =                       sys.dbms_backup_restore.backupPieceCrtDupSet(cop
y,
DBGPLSQL:          373 TEXTNOD =                                                                 fnames
(copy));
DBGPLSQL:          374 TEXTNOD =                   end if;
DBGPLSQL:          375 TEXTNOD =                   end;
DBGPLSQL:          376 TEXTNOD =                   copy := copy + 1;
DBGPLSQL:          377 TEXTNOD =               end loop;
DBGPLSQL:          378 TEXTNOD =               -- Ok, now do the actual piece creation, we use the 'old
'
DBGPLSQL:          379 TEXTNOD =               -- interface
DBGPLSQL:          380 TEXTNOD =               copy := 0;
DBGPLSQL:          381 TEXTNOD =               -- CONVERT DATABASE ON TARGET PLATFORM: don't do the act
ual
DBGPLSQL:          382 TEXTNOD =               -- datafile conversion now. Cancel the conversation inst
ead.
DBGPLSQL:          383 TEXTNOD =               if not transontarget then
DBGPLSQL:          384 TEXTNOD =                 sys.dbms_backup_restore.backupPieceCreate(
DBGPLSQL:          385 TEXTNOD =                      fname            => fnames(copy),
DBGPLSQL:          386 TEXTNOD =                      pieceno          => pieceno,
DBGPLSQL:          387 TEXTNOD =                      done             => done,
DBGPLSQL:          388 TEXTNOD =                      handle           => handle,
DBGPLSQL:          389 TEXTNOD =                      comment          => comment,
DBGPLSQL:          390 TEXTNOD =                      media            => media,
DBGPLSQL:          391 TEXTNOD =                      concur           => concur,
DBGPLSQL:          392 TEXTNOD =                     
DBGPLSQL:          393 PRMVAL = params=>null
DBGPLSQL:          394 TEXTNOD = ,
DBGPLSQL:          395 TEXTNOD =                      reuse            => reusefile,
DBGPLSQL:          396 TEXTNOD =                      archlog_failover => larchlog_failover,
DBGPLSQL:          397 TEXTNOD =                      deffmt           => deffmt,
DBGPLSQL:          398 TEXTNOD =                      recid            => cprecid,
DBGPLSQL:          399 TEXTNOD =                      stamp            => cpstamp,
DBGPLSQL:          400 TEXTNOD =                      tag              => cptag,
DBGPLSQL:          401 TEXTNOD =                      docompress       => docompress,
DBGPLSQL:          402 TEXTNOD =                      dest             => dest);
DBGPLSQL:          403 TEXTNOD =               else
DBGPLSQL:          404 TEXTNOD =                 sys.dbms_backup_restore.backupCancel;
DBGPLSQL:          405 TEXTNOD =                 done := TRUE;
DBGPLSQL:          406 TEXTNOD =               end if;
DBGPLSQL:          407 TEXTNOD =               if larchlog_failover then
DBGPLSQL:          408 TEXTNOD =                  failoverdone := TRUE;
DBGPLSQL:          409 TEXTNOD =               end if;
DBGPLSQL:          410 TEXTNOD =               if concur then
DBGPLSQL:          411 TEXTNOD =                  krmicd.writeMsg(8135, fname);
DBGPLSQL:          412 TEXTNOD =               end if;
DBGPLSQL:          413 TEXTNOD =               exception
DBGPLSQL:          414 TEXTNOD =                   when sys.dbms_backup_restore.snapshot_enqueue_busy t
hen
DBGPLSQL:          415 TEXTNOD =                   -- retry up to 5 times, waiting 10 seconds between r
etries
DBGPLSQL:          416 TEXTNOD =                       if busy_retries = 5 then
DBGPLSQL:          417 TEXTNOD =                           krmicd.writeMsg(20029,
DBGPLSQL:          418 TEXTNOD =                                         'cannot make a snapshot contro
lfile');
DBGPLSQL:          419 TEXTNOD =                           raise;
DBGPLSQL:          420 TEXTNOD =                       end if;
DBGPLSQL:          421 TEXTNOD =                       busy_retries := busy_retries + 1;
DBGPLSQL:          422 TEXTNOD =                       krmicd.writeMsg(8512);
DBGPLSQL:          423 TEXTNOD =                       krmicd.sleep(10*busy_retries);
DBGPLSQL:          424 TEXTNOD =                       krmicd.clearErrors;
DBGPLSQL:          425 TEXTNOD =                       goto snapshot;
DBGPLSQL:          426 TEXTNOD =               end;
DBGPLSQL:          427 TEXTNOD =               krmicd.writeIOs(stamp, setid);
DBGPLSQL:          428 TEXTNOD =           end; -- snapshot controlfile stuff
DBGPLSQL:          429 TEXTNOD =           if not docopies then
DBGPLSQL:          430 TEXTNOD =               if ncopies = 1 then
DBGPLSQL:          431 TEXTNOD =                   krmicd.writeMsg(8044, krmicd.getChid, to_char(piecen
o),
DBGPLSQL:          432 TEXTNOD =                                   to_char(sysdate));
DBGPLSQL:          433 TEXTNOD =               else
DBGPLSQL:          434 TEXTNOD =                   -- If we have multiple copies, all copies get the sa
me
DBGPLSQL:          435 TEXTNOD =                   -- tag, print the tag at the beginning if we have on
e.
DBGPLSQL:          436 TEXTNOD =                   if cptag is not null then
DBGPLSQL:          437 TEXTNOD =                      krmicd.writeMsg(8053, krmicd.getChid, to_char(pie
ceno),
DBGPLSQL:          438 TEXTNOD =                                      to_char(sysdate), to_char(ncopies
),
DBGPLSQL:          439 TEXTNOD =                                      cptag);
DBGPLSQL:          440 TEXTNOD =                   else
DBGPLSQL:          441 TEXTNOD =                      krmicd.writeMsg(8045, krmicd.getChid, to_char(pie
ceno),
DBGPLSQL:          442 TEXTNOD =                                      to_char(sysdate), to_char(ncopies
));
DBGPLSQL:          443 TEXTNOD =                   end if;
DBGPLSQL:          444 TEXTNOD =               end if;
DBGPLSQL:          445 TEXTNOD =           end if;
DBGPLSQL:          446 TEXTNOD =           copy := 0;
DBGPLSQL:          447 TEXTNOD =           -- CONVERT DATABASE ON TARGET PLATFORM: no conversion is don
e
DBGPLSQL:          448 TEXTNOD =           -- so no messages.
DBGPLSQL:          449 TEXTNOD =           if not transontarget then
DBGPLSQL:          450 TEXTNOD =             while copy < ncopies loop
DBGPLSQL:          451 TEXTNOD =                 if (copy > 0) then
DBGPLSQL:          452 TEXTNOD =                     -- Retrieve output parameters from server structur
es
DBGPLSQL:          453 TEXTNOD =                     sys.dbms_backup_restore.backupPieceCrtDupGet(copy,
DBGPLSQL:          454 TEXTNOD =                                                                  handl
e,
DBGPLSQL:          455 TEXTNOD =                                                                  comme
nt,
DBGPLSQL:          456 TEXTNOD =                                                                  media
);
DBGPLSQL:          457 TEXTNOD =                 end if;
DBGPLSQL:          458 TEXTNOD =                 if not docopies then
DBGPLSQL:          459 TEXTNOD =                     if comment is null then comment := 'NONE'; end if;
DBGPLSQL:          460 TEXTNOD =                     -- If we have only one copy and a tag, print the t
ag
DBGPLSQL:          461 TEXTNOD =                     -- next to tbe handle.  If we have more than one p
iece
DBGPLSQL:          462 TEXTNOD =                     -- print the handle and comment only, the same if
we do
DBGPLSQL:          463 TEXTNOD =                     -- not have a tag.
DBGPLSQL:          464 TEXTNOD =                     if ncopies = 1 and cptag is not null then
DBGPLSQL:          465 TEXTNOD =                        krmicd.writeMsg(8530, handle, cptag, comment);
DBGPLSQL:          466 TEXTNOD =                     else
DBGPLSQL:          467 TEXTNOD =                        krmicd.writeMsg(8503, handle, comment);
DBGPLSQL:          468 TEXTNOD =                     end if;
DBGPLSQL:          469 TEXTNOD =                 else
DBGPLSQL:          470 TEXTNOD =                     if doconvert then
DBGPLSQL:          471 TEXTNOD =                        krmicd.writeMsg(8588, handle);
DBGPLSQL:          472 TEXTNOD =                     else
DBGPLSQL:          473 TEXTNOD =                        if cptag is NOT NULL then
DBGPLSQL:          474 TEXTNOD =                           krmicd.writeMsg(8586, handle, cptag, to_char
(cprecid),
DBGPLSQL:          475 TEXTNOD =                                           to_char(cpstamp));
DBGPLSQL:          476 TEXTNOD =                        else
DBGPLSQL:          477 TEXTNOD =                           krmicd.writeMsg(8501, handle, to_char(cpreci
d),
DBGPLSQL:          478 TEXTNOD =                                           to_char(cpstamp));
DBGPLSQL:          479 TEXTNOD =                        end if;
DBGPLSQL:          480 TEXTNOD =                     end if;
DBGPLSQL:          481 TEXTNOD =                 end if;
DBGPLSQL:          482 TEXTNOD =                 copy := copy + 1;
DBGPLSQL:          483 TEXTNOD =             end loop;
DBGPLSQL:          484 TEXTNOD =           end if;
DBGPLSQL:          485 TEXTNOD =           if done then
DBGPLSQL:          486 TEXTNOD =              stampd := stamp2date(stamp);
DBGPLSQL:          487 TEXTNOD =              select sysdate-stampd into elapsed from x$dual;
DBGPLSQL:          488 TEXTNOD =              dur2time(elapsed, hours, mins, secs);
DBGPLSQL:          489 TEXTNOD =              if failoverdone then
DBGPLSQL:          490 TEXTNOD =                 krmicd.writemsg(8112, krmicd.getChid);
DBGPLSQL:          491 TEXTNOD =              end if;
DBGPLSQL:          492 TEXTNOD =              if not docopies then
DBGPLSQL:          493 TEXTNOD =                 m := 8540;
DBGPLSQL:          494 TEXTNOD =              else
DBGPLSQL:          495 TEXTNOD =                 if transontarget then
DBGPLSQL:          496 TEXTNOD =                    m := 8306;
DBGPLSQL:          497 TEXTNOD =                 elsif doconvert then
DBGPLSQL:          498 TEXTNOD =                    m := 8590;
DBGPLSQL:          499 TEXTNOD =                 end if;
DBGPLSQL:          500 TEXTNOD =              end if;
DBGPLSQL:          501 TEXTNOD =              krmicd.writemsg(m, krmicd.getChid,
DBGPLSQL:          502 TEXTNOD =                              to_char(hours, 'FM09') || ':' ||
DBGPLSQL:          503 TEXTNOD =                              to_char(mins,  'FM09') || ':' ||
DBGPLSQL:          504 TEXTNOD =                              to_char(secs,  'FM09'));
DBGPLSQL:          505 TEXTNOD =              exit;
DBGPLSQL:          506 TEXTNOD =           end if;
DBGPLSQL:          507 TEXTNOD =       end loop;
DBGPLSQL:          508 TEXTNOD =   end if;
DBGPLSQL:          509 TEXTNOD =   first_time := TRUE;  -- in case we will be deleting what we backed u
p
DBGPLSQL:          510 TEXTNOD =   if (endBackupJobStep(FALSE, 0)) then null; end if;
DBGPLSQL:          511 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:          512 TEXTNOD = exception
DBGPLSQL:          513 TEXTNOD =   when others then
DBGPLSQL:          514 TEXTNOD =      if (not endBackupJobStep(TRUE, sqlcode)) then
DBGPLSQL:          515 TEXTNOD =         raise;
DBGPLSQL:          516 TEXTNOD =      end if;
DBGPLSQL:          517 TEXTNOD =      sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:          518 TEXTNOD = end;
DBGPLSQL:        4 STEP id=4 status=NOT STARTED
DBGPLSQL:            1 TEXTNOD = -- budf_start
DBGPLSQL:            2 TEXTNOD = /* This must be retriable, which means a backup conversation may alrea
dy
DBGPLSQL:            3 TEXTNOD =  * be in progress when this step (re)executes.
DBGPLSQL:            4 TEXTNOD =  */
DBGPLSQL:            5 TEXTNOD = declare
DBGPLSQL:            6 TEXTNOD =   /* backup conversation status variables */
DBGPLSQL:            7 TEXTNOD =   state       binary_integer;
DBGPLSQL:            8 TEXTNOD =   setid       number;
DBGPLSQL:            9 TEXTNOD =   stamp       number;
DBGPLSQL:           10 TEXTNOD =   pieceno     binary_integer;
DBGPLSQL:           11 TEXTNOD =   files       binary_integer;
DBGPLSQL:           12 TEXTNOD =   datafiles   boolean;
DBGPLSQL:           13 TEXTNOD =   incremental boolean;
DBGPLSQL:           14 TEXTNOD =   nochecksum  boolean;
DBGPLSQL:           15 TEXTNOD =   device      boolean;
DBGPLSQL:           16 TEXTNOD =   /* piece creation variables */
DBGPLSQL:           17 TEXTNOD =   done        boolean;
DBGPLSQL:           18 TEXTNOD =   concur      boolean;
DBGPLSQL:           19 TEXTNOD =   /* Miscellaneous */
DBGPLSQL:           20 TEXTNOD =   memnum      number;
DBGPLSQL:           21 TEXTNOD =   dfnumber    number;
DBGPLSQL:           22 TEXTNOD =   cfname      varchar2(512);
DBGPLSQL:           23 TEXTNOD =   copy_recid  number;
DBGPLSQL:           24 TEXTNOD =   copy_stamp  number;
DBGPLSQL:           25 TEXTNOD =   busy_retries number := 0;
DBGPLSQL:           26 TEXTNOD =   resetlogs_change  number;
DBGPLSQL:           27 TEXTNOD =   creation_change   number;
DBGPLSQL:           28 TEXTNOD =   checkpoint_change number;
DBGPLSQL:           29 TEXTNOD =   blksize           number;
DBGPLSQL:           30 TEXTNOD =   blocks            number;
DBGPLSQL:           31 TEXTNOD =   fname             varchar2(1024);
DBGPLSQL:           32 TEXTNOD =   no_delete         binary_integer;
DBGPLSQL:           33 TEXTNOD =   copy         number;
DBGPLSQL:           34 TEXTNOD =   nformat      number := 1;
DBGPLSQL:           35 TEXTNOD =   handle       varchar2(512);
DBGPLSQL:           36 TEXTNOD =   comment      varchar2(80);
DBGPLSQL:           37 TEXTNOD =   media        varchar2(80);
DBGPLSQL:           38 TEXTNOD =   wrong_format      exception;
DBGPLSQL:           39 TEXTNOD =   pragma exception_init(wrong_format, -20039);
DBGPLSQL:           40 TEXTNOD =   first_time        boolean := TRUE;
DBGPLSQL:           41 TEXTNOD =   backup_level      number;
DBGPLSQL:           42 TEXTNOD =   elapsed           number;
DBGPLSQL:           43 TEXTNOD =   stampd            date;
DBGPLSQL:           44 TEXTNOD =   hours             number;
DBGPLSQL:           45 TEXTNOD =   mins              number;
DBGPLSQL:           46 TEXTNOD =   secs              number;
DBGPLSQL:           47 TEXTNOD =   ncopies           number := 0;
DBGPLSQL:           48 TEXTNOD =   docompress        boolean := FALSE;
DBGPLSQL:           49 TEXTNOD = -- backup_type is used to indicate what type of backup is done. This i
s used
DBGPLSQL:           50 TEXTNOD = -- to get configured copies, look at krmkgbac for more comments.
DBGPLSQL:           51 TEXTNOD =   backup_type       number := 2;
DBGPLSQL:           52 TEXTNOD =   isstby            boolean;
DBGPLSQL:           53 TEXTNOD =   larchlog_failover boolean;
DBGPLSQL:           54 TEXTNOD =   failoverdone      boolean := FALSE;
DBGPLSQL:           55 TEXTNOD =   docopies          boolean := FALSE;
DBGPLSQL:           56 TEXTNOD =   cnvrtto           boolean := FALSE;
DBGPLSQL:           57 TEXTNOD =   cnvrtfr           boolean := FALSE;
DBGPLSQL:           58 TEXTNOD =   sameen            boolean := FALSE;
DBGPLSQL:           59 TEXTNOD =   reusefile         boolean := FALSE;
DBGPLSQL:           60 TEXTNOD =   tsname            varchar2(30) := NULL;
DBGPLSQL:           61 TEXTNOD =   thread            number := NULL;
DBGPLSQL:           62 TEXTNOD =   sequence          number := NULL;
DBGPLSQL:           63 TEXTNOD =   m                 number := 8581;
DBGPLSQL:           64 TEXTNOD =   cprecid           number;
DBGPLSQL:           65 TEXTNOD =   cpstamp           number;
DBGPLSQL:           66 TEXTNOD =   rsid              number;
DBGPLSQL:           67 TEXTNOD =   rsts              number;
DBGPLSQL:           68 TEXTNOD =   cptag             varchar2(31) := NULL;
DBGPLSQL:           69 TEXTNOD =   noct              boolean := FALSE;
DBGPLSQL:           70 TEXTNOD =   nooptim           boolean := FALSE;
DBGPLSQL:           71 TEXTNOD =   dontcare          varchar2(1);
DBGPLSQL:           72 TEXTNOD =   pltfrmto          number := NULL;
DBGPLSQL:           73 TEXTNOD =   pltfrmfr          number := NULL;
DBGPLSQL:           74 TEXTNOD =   foreign_dbname    varchar2(8) := NULL;
DBGPLSQL:           75 TEXTNOD =   foreign_dbid      number := NULL;
DBGPLSQL:           76 TEXTNOD =   doconvert         boolean := FALSE;
DBGPLSQL:           77 TEXTNOD =   savepiecename     boolean := FALSE;
DBGPLSQL:           78 TEXTNOD =   transontarget     boolean := FALSE;
DBGPLSQL:           79 TEXTNOD =   convertdb         boolean := FALSE;
DBGPLSQL:           80 TEXTNOD =   isomf             boolean;
DBGPLSQL:           81 TEXTNOD =   istmplt           boolean;
DBGPLSQL:           82 TEXTNOD =   isasm             boolean;
DBGPLSQL:           83 TEXTNOD = begin
DBGPLSQL:           84 TEXTNOD =  
DBGPLSQL:           85 PRMVAL =  backup_level := null;
DBGPLSQL:           86 TEXTNOD =   -- set docopies and convert (if any)
DBGPLSQL:           87 TEXTNOD =  
DBGPLSQL:           88 PRMVAL =  docopies := false;
DBGPLSQL:           89 TEXTNOD =   -- set rsid
DBGPLSQL:           90 TEXTNOD =  
DBGPLSQL:           91 PRMVAL =  rsid := 14;
DBGPLSQL:           92 TEXTNOD =   -- set rsts
DBGPLSQL:           93 TEXTNOD =  
DBGPLSQL:           94 PRMVAL =  rsts := 839775497;
DBGPLSQL:           95 TEXTNOD =   -- set reusefile
DBGPLSQL:           96 TEXTNOD =  
DBGPLSQL:           97 PRMVAL =  reusefile := false;
DBGPLSQL:           98 TEXTNOD =   -- set docompress := FALSE/TRUE
DBGPLSQL:           99 TEXTNOD =  
DBGPLSQL:          100 PRMVAL =  docompress := true;
DBGPLSQL:          101 TEXTNOD =   if pltfrmto is not null or pltfrmfr is not null then
DBGPLSQL:          102 TEXTNOD =      doconvert := true;
DBGPLSQL:          103 TEXTNOD =   end if;
DBGPLSQL:          104 TEXTNOD =   -- If returned FALSE, abort the backup job
DBGPLSQL:          105 TEXTNOD =   if (NOT beginBackupJobStep()) then
DBGPLSQL:          106 TEXTNOD =     return;
DBGPLSQL:          107 TEXTNOD =   end if;
DBGPLSQL:          108 TEXTNOD =  
DBGPLSQL:          109 TEXTNOD =   sys.dbms_backup_restore.backupStatus(state, setid, stamp, pieceno, f
iles,
DBGPLSQL:          110 TEXTNOD =                                        datafiles, incremental, nocheck
sum,
DBGPLSQL:          111 TEXTNOD =                                        device);
DBGPLSQL:          112 TEXTNOD =   if state = sys.dbms_backup_restore.BACKUP_NO_CONVERSATION then
DBGPLSQL:          113 TEXTNOD =     goto start_convo;
DBGPLSQL:          114 TEXTNOD =   elsif state = sys.dbms_backup_restore.BACKUP_NAMING_FILES then
DBGPLSQL:          115 TEXTNOD =     goto name_files;
DBGPLSQL:          116 TEXTNOD =   else
DBGPLSQL:          117 TEXTNOD =     goto create_piece;
DBGPLSQL:          118 TEXTNOD =   end if;
DBGPLSQL:          119 TEXTNOD = <>
DBGPLSQL:          120 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>rsid, rsts=>rsts);
DBGPLSQL:          121 TEXTNOD =   sys.dbms_backup_restore.backupSetDatafile(stamp, setid,
DBGPLSQL:          122 TEXTNOD =                                            
DBGPLSQL:          123 PRMVAL = incremental=>false,nochecksum=>false
DBGPLSQL:          124 TEXTNOD = ,
DBGPLSQL:          125 TEXTNOD =                                            
DBGPLSQL:          126 PRMVAL = tag=>'TAG20140217T145819'
DBGPLSQL:          127 TEXTNOD = ,
DBGPLSQL:          128 TEXTNOD =                                             imagcp    => docopies,
DBGPLSQL:          129 TEXTNOD =                                             convertto => cnvrtto,
DBGPLSQL:          130 TEXTNOD =                                             convertfr => cnvrtfr,
DBGPLSQL:          131 TEXTNOD =                                             pltfrmto  => pltfrmto,
DBGPLSQL:          132 TEXTNOD =                                             pltfrmfr  => pltfrmfr,
DBGPLSQL:          133 TEXTNOD =                                             sameen    => sameen,
DBGPLSQL:          134 TEXTNOD =                                             convertdb => convertdb);
DBGPLSQL:          135 TEXTNOD =   if (noct) then
DBGPLSQL:          136 TEXTNOD =     dontcare :=
DBGPLSQL:          137 TEXTNOD =       sys.dbms_backup_restore.getParm(sys.dbms_backup_restore.incr_noc
t);
DBGPLSQL:          138 TEXTNOD =   end if;
DBGPLSQL:          139 TEXTNOD =   if (nooptim) then
DBGPLSQL:          140 TEXTNOD =     dontcare :=
DBGPLSQL:          141 TEXTNOD =       sys.dbms_backup_restore.getParm(sys.dbms_backup_restore.full_noo
ptim);
DBGPLSQL:          142 TEXTNOD =   end if;
DBGPLSQL:          143 TEXTNOD =   -- Display appropriate message
DBGPLSQL:          144 TEXTNOD =   if transontarget then
DBGPLSQL:          145 TEXTNOD =      krmicd.writeMsg(8305, krmicd.getChid);
DBGPLSQL:          146 TEXTNOD =   elsif docopies then
DBGPLSQL:          147 TEXTNOD =      if doconvert then
DBGPLSQL:          148 TEXTNOD =         krmicd.writeMsg(8589, krmicd.getChid);
DBGPLSQL:          149 TEXTNOD =      else
DBGPLSQL:          150 TEXTNOD =         krmicd.writeMsg(8580, krmicd.getChid);
DBGPLSQL:          151 TEXTNOD =      end if;
DBGPLSQL:          152 TEXTNOD =   else
DBGPLSQL:          153 TEXTNOD =      if backup_level is not null then
DBGPLSQL:          154 TEXTNOD =         if (docompress) then
DBGPLSQL:          155 TEXTNOD =            krmicd.writeMsg(8047, krmicd.getChid, to_char(backup_level)
);
DBGPLSQL:          156 TEXTNOD =         else
DBGPLSQL:          157 TEXTNOD =            krmicd.writeMsg(8048, krmicd.getChid, to_char(backup_level)
);
DBGPLSQL:          158 TEXTNOD =         end if; 
DBGPLSQL:          159 TEXTNOD =      else
DBGPLSQL:          160 TEXTNOD =         if (docompress) then
DBGPLSQL:          161 TEXTNOD =            krmicd.writeMsg(8046, krmicd.getChid);
DBGPLSQL:          162 TEXTNOD =         else
DBGPLSQL:          163 TEXTNOD =            krmicd.writeMsg(8008, krmicd.getChid);
DBGPLSQL:          164 TEXTNOD =         end if;
DBGPLSQL:          165 TEXTNOD =      end if;
DBGPLSQL:          166 TEXTNOD =   end if;
DBGPLSQL:          167 TEXTNOD =   setBackupParams(docopies);
DBGPLSQL:          168 TEXTNOD = <>
DBGPLSQL:          169 TEXTNOD =   deb('budf_start', 'set_stamp=' || stamp || ' set_count=' || setid,
DBGPLSQL:          170 TEXTNOD =       rman_constant.DEBUG_IO, 1);
DBGPLSQL:          171 TEXTNOD = -- budf_name
DBGPLSQL:          172 TEXTNOD =  
DBGPLSQL:          173 PRMVAL =  memnum := 1;
DBGPLSQL:          174 TEXTNOD =  
DBGPLSQL:          175 PRMVAL =  dfnumber := 6; tsname := 'TEST'; fname := '/paic/data/oracle/oradata/d
ongkuifeng/oradata/test01.dbf'; blocks := 591360; blksize := 4096;
DBGPLSQL:          176 TEXTNOD =   if (first_time) then
DBGPLSQL:          177 TEXTNOD =      if not docopies then
DBGPLSQL:          178 TEXTNOD =         krmicd.writeMsg(8010, krmicd.getChid);
DBGPLSQL:          179 TEXTNOD =      end if;
DBGPLSQL:          180 TEXTNOD =      first_time := FALSE;
DBGPLSQL:          181 TEXTNOD =   end if;
DBGPLSQL:          182 TEXTNOD =   if files < memnum then
DBGPLSQL:          183 TEXTNOD =     begin
DBGPLSQL:          184 TEXTNOD =        sys.dbms_backup_restore.backupDataFile(dfnumber => dfnumber,
DBGPLSQL:          185 PRMVAL = max_corrupt=>0,since_change=>0
DBGPLSQL:          186 TEXTNOD = );
DBGPLSQL:          187 TEXTNOD =        krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          188 TEXTNOD =        deb('budf_name', 'blocks=' || blocks || ' block_size=' || blksi
ze,
DBGPLSQL:          189 TEXTNOD =            rman_constant.DEBUG_IO, 1);
DBGPLSQL:          190 TEXTNOD =     exception
DBGPLSQL:          191 TEXTNOD =        when sys.dbms_backup_restore.inc_scn_matches_df_scn then
DBGPLSQL:          192 TEXTNOD =           krmicd.writeMsg(8522, to_char(dfnumber, 'FM09999'), fname);
DBGPLSQL:          193 TEXTNOD =           krmicd.writeMsg(8056, to_char(dfnumber, 'FM09999'));
DBGPLSQL:          194 TEXTNOD =           krmicd.clearErrors;
DBGPLSQL:          195 TEXTNOD =     end;
DBGPLSQL:          196 TEXTNOD =     files := files + 1;
DBGPLSQL:          197 TEXTNOD =   end if;
DBGPLSQL:          198 TEXTNOD = -- bu_create
DBGPLSQL:          199 TEXTNOD = <>
DBGPLSQL:          200 TEXTNOD =   sys.dbms_backup_restore.backupStatus(state, setid, stamp, pieceno, f
iles,
DBGPLSQL:          201 TEXTNOD =                                          datafiles, incremental, noche
cksum,
DBGPLSQL:          202 TEXTNOD =                                          device);
DBGPLSQL:          203 TEXTNOD =   -- If we get here and the files count is zero, then all files in thi
s
DBGPLSQL:          204 TEXTNOD =   -- backup set were skipped.
DBGPLSQL:          205 TEXTNOD =   if (files = 0) then
DBGPLSQL:          206 TEXTNOD =       sys.dbms_backup_restore.backupCancel;
DBGPLSQL:          207 TEXTNOD =       krmicd.writeMsg(8057, krmicd.getChid);
DBGPLSQL:          208 TEXTNOD =   else
DBGPLSQL:          209 TEXTNOD =       -- ncopies will be substituted for ncopies :=
DBGPLSQL:          210 TEXTNOD =      
DBGPLSQL:          211 PRMVAL =  ncopies := 1;
DBGPLSQL:          212 TEXTNOD =       if (ncopies = 0) then
DBGPLSQL:          213 TEXTNOD =          ncopies := krmicd.getBackupCopies(backup_type, krmicd.getDevT
ype);
DBGPLSQL:          214 TEXTNOD =       end if;
DBGPLSQL:          215 TEXTNOD =       sys.dbms_backup_restore.setLimit(sys.dbms_backup_restore.dupcnt,
DBGPLSQL:          216 TEXTNOD =                                        ncopies);
DBGPLSQL:          217 TEXTNOD =       loop
DBGPLSQL:          218 TEXTNOD =           if not docopies then
DBGPLSQL:          219 TEXTNOD =              krmicd.writeMsg(8038, krmicd.getChid, to_char(pieceno+1),
DBGPLSQL:          220 TEXTNOD =                              to_char(sysdate));
DBGPLSQL:          221 TEXTNOD =           end if;
DBGPLSQL:          222 TEXTNOD =           declare
DBGPLSQL:          223 TEXTNOD =               type names is table of varchar2(512) index by binary_int
eger;
DBGPLSQL:          224 TEXTNOD =               fnames             names;
DBGPLSQL:          225 TEXTNOD =               lformat            names;
DBGPLSQL:          226 TEXTNOD =               lyear              varchar2(4);
DBGPLSQL:          227 TEXTNOD =               lday               varchar2(2);
DBGPLSQL:          228 TEXTNOD =               lmonth             varchar2(2);
DBGPLSQL:          229 TEXTNOD =               copyaux            number;
DBGPLSQL:          230 TEXTNOD =               chtype             varchar2(16);
DBGPLSQL:          231 TEXTNOD =               busy_retries       number := 0;
DBGPLSQL:          232 TEXTNOD =               piecefmt           varchar2(512);
DBGPLSQL:          233 TEXTNOD =               set_stamp          number;
DBGPLSQL:          234 TEXTNOD =               set_count          number;
DBGPLSQL:          235 TEXTNOD =               deffmt             binary_integer;
DBGPLSQL:          236 TEXTNOD =               dest               binary_integer := 0;
DBGPLSQL:          237 TEXTNOD =           begin
DBGPLSQL:          238 TEXTNOD =           <>
DBGPLSQL:          239 TEXTNOD =               begin
DBGPLSQL:          240 TEXTNOD =               select to_char(sysdate, 'YYYY',
DBGPLSQL:          241 TEXTNOD =                              'NLS_CALENDAR=Gregorian'),
DBGPLSQL:          242 TEXTNOD =                      to_char(sysdate, 'MM',
DBGPLSQL:          243 TEXTNOD =                              'NLS_CALENDAR=Gregorian'),
DBGPLSQL:          244 TEXTNOD =                      to_char(sysdate, 'DD',
DBGPLSQL:          245 TEXTNOD =                              'NLS_CALENDAR=Gregorian')
DBGPLSQL:          246 TEXTNOD =                 into lyear, lmonth, lday
DBGPLSQL:          247 TEXTNOD =                 from x$dual;
DBGPLSQL:          248 TEXTNOD =               -- initialize  the format
DBGPLSQL:          249 TEXTNOD =               lformat(0) := NULL;
DBGPLSQL:          250 TEXTNOD =               -- The following are substituted for variable := value
DBGPLSQL:          251 TEXTNOD =               -- format will substituted by array of
DBGPLSQL:          252 TEXTNOD =               -- lformat() := '' , nformat :=
DBGPLSQL:          253 TEXTNOD =               -- and dest
DBGPLSQL:          254 TEXTNOD =              
DBGPLSQL:          255 TEXTNOD =               -- Call genPieceName as many times as ncopies, stored
DBGPLSQL:          256 TEXTNOD =               -- generated names into array of fnames.  Check in the
DBGPLSQL:          257 TEXTNOD =               -- array for duplicated names
DBGPLSQL:          258 TEXTNOD =               copy := 0;
DBGPLSQL:          259 TEXTNOD =               while copy < ncopies loop
DBGPLSQL:          260 TEXTNOD =                   begin
DBGPLSQL:          261 TEXTNOD =                   -- find out the format to use (backup or channel for
mat)
DBGPLSQL:          262 TEXTNOD =                   piecefmt := lformat(mod(copy, nformat));
DBGPLSQL:          263 TEXTNOD =                   krmicd.getFormat(format  => piecefmt,
DBGPLSQL:          264 TEXTNOD =                                    copy    => copy+1,
DBGPLSQL:          265 TEXTNOD =                                    deffmt  => deffmt,
DBGPLSQL:          266 TEXTNOD =                                    dest    => dest);
DBGPLSQL:          267 TEXTNOD =                   -- If doing image copies and the channel is not a DI
SK,
DBGPLSQL:          268 TEXTNOD =                   -- then generate a piece name for DISK type because
server
DBGPLSQL:          269 TEXTNOD =                   -- implicitly creates a disk channel.
DBGPLSQL:          270 TEXTNOD =                   chtype := krmicd.getDevType;
DBGPLSQL:          271 TEXTNOD =                   if chtype is null then
DBGPLSQL:          272 TEXTNOD =                      chtype := 'N/A';
DBGPLSQL:          273 TEXTNOD =                   elsif (docopies and chtype != 'DISK') then
DBGPLSQL:          274 TEXTNOD =                      chtype := 'DISK';
DBGPLSQL:          275 TEXTNOD =                   end if;
DBGPLSQL:          276 TEXTNOD =                  
DBGPLSQL:          277 PRMVAL =  savepiecename := false;
DBGPLSQL:          278 TEXTNOD =                   fnames(copy) :=
DBGPLSQL:          279 TEXTNOD =                       sys.dbms_backup_restore.genPieceName(
DBGPLSQL:          280 TEXTNOD =                          pno => pieceno+1,
DBGPLSQL:          281 TEXTNOD =                          set_count => setid,
DBGPLSQL:          282 TEXTNOD =                          set_stamp => stamp,
DBGPLSQL:          283 TEXTNOD =                          format => piecefmt,
DBGPLSQL:          284 TEXTNOD =                          copyno => copy+1,
DBGPLSQL:          285 TEXTNOD =                          devtype => chtype,
DBGPLSQL:          286 TEXTNOD =                          year => lyear,
DBGPLSQL:          287 TEXTNOD =                          month => lmonth,
DBGPLSQL:          288 TEXTNOD =                          day => lday,
DBGPLSQL:          289 TEXTNOD =                          dbid => foreign_dbid,
DBGPLSQL:          290 TEXTNOD =                          ndbname => foreign_dbname,
DBGPLSQL:          291 TEXTNOD =                          cfseq => NULL,     -- not used
DBGPLSQL:          292 TEXTNOD =                          fileno => dfnumber,
DBGPLSQL:          293 TEXTNOD =                          tsname => tsname,
DBGPLSQL:          294 TEXTNOD =                          logseq => to_char(sequence),
DBGPLSQL:          295 TEXTNOD =                          logthr => thread,
DBGPLSQL:          296 TEXTNOD =                          imagcp => docopies,
DBGPLSQL:          297 TEXTNOD =                          savepname => savepiecename);
DBGPLSQL:          298 TEXTNOD =                   -- check if the format specified is an ASM diskgroup
DBGPLSQL:          299 TEXTNOD =                   istmplt := FALSE;
DBGPLSQL:          300 TEXTNOD =                   if (chtype = 'DISK') then
DBGPLSQL:          301 TEXTNOD =                      sys.dbms_backup_restore.isfileNameOMF(
DBGPLSQL:          302 TEXTNOD =                                               fname   => fnames(copy),
DBGPLSQL:          303 TEXTNOD =                                               isomf   => isomf,
DBGPLSQL:          304 TEXTNOD =                                               isasm   => isasm,
DBGPLSQL:          305 TEXTNOD =                                               istmplt => istmplt);
DBGPLSQL:          306 TEXTNOD =                   end if;
DBGPLSQL:          307 TEXTNOD =                   -- check previous names for collision
DBGPLSQL:          308 TEXTNOD =                   -- allow OMF template
DBGPLSQL:          309 TEXTNOD =                   copyaux := 0;
DBGPLSQL:          310 TEXTNOD =                   while (not istmplt and copyaux < copy) loop
DBGPLSQL:          311 TEXTNOD =                       if fnames(copy) = fnames(copyaux) then
DBGPLSQL:          312 TEXTNOD =                           raise wrong_format;
DBGPLSQL:          313 TEXTNOD =                       end if;
DBGPLSQL:          314 TEXTNOD =                       copyaux := copyaux + 1;
DBGPLSQL:          315 TEXTNOD =                   end loop;
DBGPLSQL:          316 TEXTNOD =                   -- Store the names of the second copy onwards
DBGPLSQL:          317 TEXTNOD =                   if (copy > 0) then
DBGPLSQL:          318 TEXTNOD =                       sys.dbms_backup_restore.backupPieceCrtDupSet(cop
y,
DBGPLSQL:          319 TEXTNOD =                                                                 fnames
(copy));
DBGPLSQL:          320 TEXTNOD =                   end if;
DBGPLSQL:          321 TEXTNOD =                   end;
DBGPLSQL:          322 TEXTNOD =                   copy := copy + 1;
DBGPLSQL:          323 TEXTNOD =               end loop;
DBGPLSQL:          324 TEXTNOD =               -- Ok, now do the actual piece creation, we use the 'old
'
DBGPLSQL:          325 TEXTNOD =               -- interface
DBGPLSQL:          326 TEXTNOD =               copy := 0;
DBGPLSQL:          327 TEXTNOD =               -- CONVERT DATABASE ON TARGET PLATFORM: don't do the act
ual
DBGPLSQL:          328 TEXTNOD =               -- datafile conversion now. Cancel the conversation inst
ead.
DBGPLSQL:          329 TEXTNOD =               if not transontarget then
DBGPLSQL:          330 TEXTNOD =                 sys.dbms_backup_restore.backupPieceCreate(
DBGPLSQL:          331 TEXTNOD =                      fname            => fnames(copy),
DBGPLSQL:          332 TEXTNOD =                      pieceno          => pieceno,
DBGPLSQL:          333 TEXTNOD =                      done             => done,
DBGPLSQL:          334 TEXTNOD =                      handle           => handle,
DBGPLSQL:          335 TEXTNOD =                      comment          => comment,
DBGPLSQL:          336 TEXTNOD =                      media            => media,
DBGPLSQL:          337 TEXTNOD =                      concur           => concur,
DBGPLSQL:          338 TEXTNOD =                     
DBGPLSQL:          339 PRMVAL = params=>null
DBGPLSQL:          340 TEXTNOD = ,
DBGPLSQL:          341 TEXTNOD =                      reuse            => reusefile,
DBGPLSQL:          342 TEXTNOD =                      archlog_failover => larchlog_failover,
DBGPLSQL:          343 TEXTNOD =                      deffmt           => deffmt,
DBGPLSQL:          344 TEXTNOD =                      recid            => cprecid,
DBGPLSQL:          345 TEXTNOD =                      stamp            => cpstamp,
DBGPLSQL:          346 TEXTNOD =                      tag              => cptag,
DBGPLSQL:          347 TEXTNOD =                      docompress       => docompress,
DBGPLSQL:          348 TEXTNOD =                      dest             => dest);
DBGPLSQL:          349 TEXTNOD =               else
DBGPLSQL:          350 TEXTNOD =                 sys.dbms_backup_restore.backupCancel;
DBGPLSQL:          351 TEXTNOD =                 done := TRUE;
DBGPLSQL:          352 TEXTNOD =               end if;
DBGPLSQL:          353 TEXTNOD =               if larchlog_failover then
DBGPLSQL:          354 TEXTNOD =                  failoverdone := TRUE;
DBGPLSQL:          355 TEXTNOD =               end if;
DBGPLSQL:          356 TEXTNOD =               if concur then
DBGPLSQL:          357 TEXTNOD =                  krmicd.writeMsg(8135, fname);
DBGPLSQL:          358 TEXTNOD =               end if;
DBGPLSQL:          359 TEXTNOD =               exception
DBGPLSQL:          360 TEXTNOD =                   when sys.dbms_backup_restore.snapshot_enqueue_busy t
hen
DBGPLSQL:          361 TEXTNOD =                   -- retry up to 5 times, waiting 10 seconds between r
etries
DBGPLSQL:          362 TEXTNOD =                       if busy_retries = 5 then
DBGPLSQL:          363 TEXTNOD =                           krmicd.writeMsg(20029,
DBGPLSQL:          364 TEXTNOD =                                         'cannot make a snapshot contro
lfile');
DBGPLSQL:          365 TEXTNOD =                           raise;
DBGPLSQL:          366 TEXTNOD =                       end if;
DBGPLSQL:          367 TEXTNOD =                       busy_retries := busy_retries + 1;
DBGPLSQL:          368 TEXTNOD =                       krmicd.writeMsg(8512);
DBGPLSQL:          369 TEXTNOD =                       krmicd.sleep(10*busy_retries);
DBGPLSQL:          370 TEXTNOD =                       krmicd.clearErrors;
DBGPLSQL:          371 TEXTNOD =                       goto snapshot;
DBGPLSQL:          372 TEXTNOD =               end;
DBGPLSQL:          373 TEXTNOD =               krmicd.writeIOs(stamp, setid);
DBGPLSQL:          374 TEXTNOD =           end; -- snapshot controlfile stuff
DBGPLSQL:          375 TEXTNOD =           if not docopies then
DBGPLSQL:          376 TEXTNOD =               if ncopies = 1 then
DBGPLSQL:          377 TEXTNOD =                   krmicd.writeMsg(8044, krmicd.getChid, to_char(piecen
o),
DBGPLSQL:          378 TEXTNOD =                                   to_char(sysdate));
DBGPLSQL:          379 TEXTNOD =               else
DBGPLSQL:          380 TEXTNOD =                   -- If we have multiple copies, all copies get the sa
me
DBGPLSQL:          381 TEXTNOD =                   -- tag, print the tag at the beginning if we have on
e.
DBGPLSQL:          382 TEXTNOD =                   if cptag is not null then
DBGPLSQL:          383 TEXTNOD =                      krmicd.writeMsg(8053, krmicd.getChid, to_char(pie
ceno),
DBGPLSQL:          384 TEXTNOD =                                      to_char(sysdate), to_char(ncopies
),
DBGPLSQL:          385 TEXTNOD =                                      cptag);
DBGPLSQL:          386 TEXTNOD =                   else
DBGPLSQL:          387 TEXTNOD =                      krmicd.writeMsg(8045, krmicd.getChid, to_char(pie
ceno),
DBGPLSQL:          388 TEXTNOD =                                      to_char(sysdate), to_char(ncopies
));
DBGPLSQL:          389 TEXTNOD =                   end if;
DBGPLSQL:          390 TEXTNOD =               end if;
DBGPLSQL:          391 TEXTNOD =           end if;
DBGPLSQL:          392 TEXTNOD =           copy := 0;
DBGPLSQL:          393 TEXTNOD =           -- CONVERT DATABASE ON TARGET PLATFORM: no conversion is don
e
DBGPLSQL:          394 TEXTNOD =           -- so no messages.
DBGPLSQL:          395 TEXTNOD =           if not transontarget then
DBGPLSQL:          396 TEXTNOD =             while copy < ncopies loop
DBGPLSQL:          397 TEXTNOD =                 if (copy > 0) then
DBGPLSQL:          398 TEXTNOD =                     -- Retrieve output parameters from server structur
es
DBGPLSQL:          399 TEXTNOD =                     sys.dbms_backup_restore.backupPieceCrtDupGet(copy,
DBGPLSQL:          400 TEXTNOD =                                                                  handl
e,
DBGPLSQL:          401 TEXTNOD =                                                                  comme
nt,
DBGPLSQL:          402 TEXTNOD =                                                                  media
);
DBGPLSQL:          403 TEXTNOD =                 end if;
DBGPLSQL:          404 TEXTNOD =                 if not docopies then
DBGPLSQL:          405 TEXTNOD =                     if comment is null then comment := 'NONE'; end if;
DBGPLSQL:          406 TEXTNOD =                     -- If we have only one copy and a tag, print the t
ag
DBGPLSQL:          407 TEXTNOD =                     -- next to tbe handle.  If we have more than one p
iece
DBGPLSQL:          408 TEXTNOD =                     -- print the handle and comment only, the same if
we do
DBGPLSQL:          409 TEXTNOD =                     -- not have a tag.
DBGPLSQL:          410 TEXTNOD =                     if ncopies = 1 and cptag is not null then
DBGPLSQL:          411 TEXTNOD =                        krmicd.writeMsg(8530, handle, cptag, comment);
DBGPLSQL:          412 TEXTNOD =                     else
DBGPLSQL:          413 TEXTNOD =                        krmicd.writeMsg(8503, handle, comment);
DBGPLSQL:          414 TEXTNOD =                     end if;
DBGPLSQL:          415 TEXTNOD =                 else
DBGPLSQL:          416 TEXTNOD =                     if doconvert then
DBGPLSQL:          417 TEXTNOD =                        krmicd.writeMsg(8588, handle);
DBGPLSQL:          418 TEXTNOD =                     else
DBGPLSQL:          419 TEXTNOD =                        if cptag is NOT NULL then
DBGPLSQL:          420 TEXTNOD =                           krmicd.writeMsg(8586, handle, cptag, to_char
(cprecid),
DBGPLSQL:          421 TEXTNOD =                                           to_char(cpstamp));
DBGPLSQL:          422 TEXTNOD =                        else
DBGPLSQL:          423 TEXTNOD =                           krmicd.writeMsg(8501, handle, to_char(cpreci
d),
DBGPLSQL:          424 TEXTNOD =                                           to_char(cpstamp));
DBGPLSQL:          425 TEXTNOD =                        end if;
DBGPLSQL:          426 TEXTNOD =                     end if;
DBGPLSQL:          427 TEXTNOD =                 end if;
DBGPLSQL:          428 TEXTNOD =                 copy := copy + 1;
DBGPLSQL:          429 TEXTNOD =             end loop;
DBGPLSQL:          430 TEXTNOD =           end if;
DBGPLSQL:          431 TEXTNOD =           if done then
DBGPLSQL:          432 TEXTNOD =              stampd := stamp2date(stamp);
DBGPLSQL:          433 TEXTNOD =              select sysdate-stampd into elapsed from x$dual;
DBGPLSQL:          434 TEXTNOD =              dur2time(elapsed, hours, mins, secs);
DBGPLSQL:          435 TEXTNOD =              if failoverdone then
DBGPLSQL:          436 TEXTNOD =                 krmicd.writemsg(8112, krmicd.getChid);
DBGPLSQL:          437 TEXTNOD =              end if;
DBGPLSQL:          438 TEXTNOD =              if not docopies then
DBGPLSQL:          439 TEXTNOD =                 m := 8540;
DBGPLSQL:          440 TEXTNOD =              else
DBGPLSQL:          441 TEXTNOD =                 if transontarget then
DBGPLSQL:          442 TEXTNOD =                    m := 8306;
DBGPLSQL:          443 TEXTNOD =                 elsif doconvert then
DBGPLSQL:          444 TEXTNOD =                    m := 8590;
DBGPLSQL:          445 TEXTNOD =                 end if;
DBGPLSQL:          446 TEXTNOD =              end if;
DBGPLSQL:          447 TEXTNOD =              krmicd.writemsg(m, krmicd.getChid,
DBGPLSQL:          448 TEXTNOD =                              to_char(hours, 'FM09') || ':' ||
DBGPLSQL:          449 TEXTNOD =                              to_char(mins,  'FM09') || ':' ||
DBGPLSQL:          450 TEXTNOD =                              to_char(secs,  'FM09'));
DBGPLSQL:          451 TEXTNOD =              exit;
DBGPLSQL:          452 TEXTNOD =           end if;
DBGPLSQL:          453 TEXTNOD =       end loop;
DBGPLSQL:          454 TEXTNOD =   end if;
DBGPLSQL:          455 TEXTNOD =   first_time := TRUE;  -- in case we will be deleting what we backed u
p
DBGPLSQL:          456 TEXTNOD =   if (endBackupJobStep(FALSE, 0)) then null; end if;
DBGPLSQL:          457 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:          458 TEXTNOD = exception
DBGPLSQL:          459 TEXTNOD =   when others then
DBGPLSQL:          460 TEXTNOD =      if (not endBackupJobStep(TRUE, sqlcode)) then
DBGPLSQL:          461 TEXTNOD =         raise;
DBGPLSQL:          462 TEXTNOD =      end if;
DBGPLSQL:          463 TEXTNOD =      sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:          464 TEXTNOD = end;
DBGMISC:   executing command backup [14:58:19.466]

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:19.466]
DBGSQL:       sqlcode=0 [14:58:19.466]
DBGSQL:          :b1 = 0
DBGSQL:    ENTERED krmkusl [14:58:19.467]
DBGSQL:    EXITED krmkusl with status 0 [14:58:19.470] elapsed time [00:00:00:00.003]
DBGRPC:    krmxpoq: xc=233687544, action="0000002 FINISHED131", col_l=19, ind=0, sid=538
DBGRPC:    krmxr: xc=233687544 chid=default rpc count=2
DBGRPC:    krmxpoq: xc=233700544, action="0000005 FINISHED3", col_l=17, ind=0, sid=535
DBGRPC:    krmxr: xc=233700544 chid=ORA_DISK_1 rpc count=5
DBGRPC:    krmxpoq: xc=233702928, action="0000005 FINISHED3", col_l=17, ind=0, sid=534
DBGRPC:    krmxr: xc=233702928 chid=ORA_DISK_2 rpc count=5
DBGRPC:    krmxpoq: xc=233705312, action="0000005 FINISHED3", col_l=17, ind=0, sid=533
DBGRPC:    krmxr: xc=233705312 chid=ORA_DISK_3 rpc count=5
DBGRPC:    krmxpoq: xc=233707696, action="0000005 FINISHED3", col_l=17, ind=0, sid=532
DBGRPC:    krmxr: xc=233707696 chid=ORA_DISK_4 rpc count=5
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel default (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=NOT STARTED
DBGRPC:           1 STEP id=1 status=NOT STARTED
DBGRPC:           2 STEP id=2 status=NOT STARTED
DBGRPC:           3 STEP id=3 status=NOT STARTED
DBGRPC:           4 STEP id=4 status=NOT STARTED
DBGRPC:     krmqgns: no work found for channel default (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=NOT STARTED
DBGRPC:           1 STEP id=1 status=NOT STARTED
DBGRPC:           2 STEP id=2 status=NOT STARTED
DBGRPC:           3 STEP id=3 status=NOT STARTED
DBGRPC:           4 STEP id=4 status=NOT STARTED
DBGRPC:     krmqgns: channel ORA_DISK_1 assigned step 4 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 0
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=NOT STARTED
DBGRPC:           1 STEP id=1 status=NOT STARTED
DBGRPC:           2 STEP id=2 status=NOT STARTED
DBGRPC:           3 STEP id=3 status=NOT STARTED
DBGRPC:           4 STEP id=4 status=STARTED
DBGRPC:     krmqgns: channel ORA_DISK_2 assigned step 3 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 0
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=NOT STARTED
DBGRPC:           1 STEP id=1 status=NOT STARTED
DBGRPC:           2 STEP id=2 status=NOT STARTED
DBGRPC:           3 STEP id=3 status=STARTED
DBGRPC:           4 STEP id=4 status=STARTED
DBGRPC:     krmqgns: channel ORA_DISK_3 assigned step 2 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 0
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=NOT STARTED
DBGRPC:           1 STEP id=1 status=NOT STARTED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:           3 STEP id=3 status=STARTED
DBGRPC:           4 STEP id=4 status=STARTED
DBGRPC:     krmqgns: channel ORA_DISK_4 assigned step 1 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 0
DBGRPC:    krmxcis: xc=233700544 chid=ORA_DISK_1 calling pcicmp
DBGRPC:    krmxcis: xc=233702928 chid=ORA_DISK_2 calling pcicmp
DBGRPC:    krmxcis: xc=233705312 chid=ORA_DISK_3 calling pcicmp
DBGRPC:    krmxcis: xc=233707696 chid=ORA_DISK_4 calling pcicmp
DBGRPC:    krmxr: xc=233700544 chid=ORA_DISK_1 calling peicnt
DBGMISC:   ENTERED krmzbjob [14:58:19.777]
DBGMISC:    duration(stepid=4) starttime=839746699 [14:58:19.777] (krmzbjob)
DBGMISC:   EXITED krmzbjob with status 1 (TRUE) [14:58:19.777] elapsed time [00:00:00:00.000]
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=6
DBGRPC:    krmxrpc: xc=233700544 RPC #6 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=7
DBGRPC:    krmxrpc: xc=233700544 RPC #7 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=8
DBGRPC:    krmxrpc: xc=233700544 RPC #8 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSTATUS
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=9
DBGRPC:    krmxrpc: xc=233700544 RPC #9 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=10
DBGRPC:    krmxrpc: xc=233700544 RPC #10 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSETDATAFILE
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=11
DBGRPC:    krmxrpc: xc=233700544 RPC #11 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:19.823]
RMAN-08046: channel ORA_DISK_1: starting compressed full datafile backupset

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:19.823]
DBGSQL:        sqlcode=0 [14:58:19.824]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:19.825] elapsed time [00:00:00:00.002]
DBGMISC:   ENTERED krmzgparms [14:58:19.825]
DBGMISC:    Step id = 1; Code = 4 [14:58:19.825] (krmzgparms)
DBGMISC:   EXITED krmzgparms with status 0 (FALSE) [14:58:19.826] elapsed time [00:00:00:00.000]
DBGIO:     channel ORA_DISK_1: set_stamp=839775499 set_count=12 [14:58:19.826] (budf_start)
DBGMISC:   ENTERED krmzlog [14:58:19.826]
RMAN-08010: channel ORA_DISK_1: specifying datafile(s) in backupset

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:19.826]
DBGSQL:        sqlcode=0 [14:58:19.827]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:19.827] elapsed time [00:00:00:00.001]
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=12
DBGRPC:    krmxrpc: xc=233700544 RPC #12 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:19.833]
RMAN-08522: input datafile fno=00006 name=/paic/data/oracle/oradata/dongkuifeng/oradata/test01.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:19.833]
DBGSQL:        sqlcode=0 [14:58:19.834]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:19.834] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_1: blocks=591360 block_size=4096 [14:58:19.834] (budf_name)
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSTATUS
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=13
DBGRPC:    krmxrpc: xc=233700544 RPC #13 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=14
DBGRPC:    krmxrpc: xc=233700544 RPC #14 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:19.838]
RMAN-08038: channel ORA_DISK_1: starting piece 1 at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:19.838]
DBGSQL:        sqlcode=0 [14:58:19.838]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:19.839] elapsed time [00:00:00:00.001]

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:19.841]
DBGSQL:       sqlcode=0 [14:58:19.841]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET begin :deffmt:deffmti := sys . dbms_backup_restore . getParm ( :ftype , 0
 ) ; end ; [14:58:19.841]
DBGSQL:       sqlcode=0 [14:58:19.845]
DBGSQL:          :b1 = "%U"
DBGSQL:          :b3 = 8
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.GENPIECENAME
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=15
DBGRPC:    krmxrpc: xc=233700544 RPC #15 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.ISFILENAMEOMF
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=16
DBGRPC:    krmxrpc: xc=233700544 RPC #16 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=3123 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count=17
DBGRPC:    krmxrpc: xc=233700544 starting longrunning RPC #17 to target: DBMS_BACKUP_RESTORE.BACKUPPIEC
ECREATE
DBGRPC:    krmxr: xc=233700544 started long running rpc
DBGRPC:    krmxr: xc=233702928 chid=ORA_DISK_2 calling peicnt
DBGMISC:   ENTERED krmzbjob [14:58:19.848]
DBGMISC:    duration(stepid=3) starttime=839746699 [14:58:19.848] (krmzbjob)
DBGMISC:   EXITED krmzbjob with status 1 (TRUE) [14:58:19.848] elapsed time [00:00:00:00.000]
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=6
DBGRPC:    krmxrpc: xc=233702928 RPC #6 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=7
DBGRPC:    krmxrpc: xc=233702928 RPC #7 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=8
DBGRPC:    krmxrpc: xc=233702928 RPC #8 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSTATUS
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=9
DBGRPC:    krmxrpc: xc=233702928 RPC #9 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=10
DBGRPC:    krmxrpc: xc=233702928 RPC #10 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSETDATAFILE
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=11
DBGRPC:    krmxrpc: xc=233702928 RPC #11 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:19.985]
RMAN-08046: channel ORA_DISK_2: starting compressed full datafile backupset

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:19.985]
DBGSQL:        sqlcode=0 [14:58:19.985]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:19.986] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzgparms [14:58:19.986]
DBGMISC:    Step id = 1; Code = 3 [14:58:19.986] (krmzgparms)
DBGMISC:   EXITED krmzgparms with status 0 (FALSE) [14:58:19.986] elapsed time [00:00:00:00.000]
DBGIO:     channel ORA_DISK_2: set_stamp=839775499 set_count=13 [14:58:19.987] (budf_start)
DBGMISC:   ENTERED krmzlog [14:58:19.987]
RMAN-08010: channel ORA_DISK_2: specifying datafile(s) in backupset

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:19.987]
DBGSQL:        sqlcode=0 [14:58:19.987]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:19.988] elapsed time [00:00:00:00.001]
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=12
DBGRPC:    krmxrpc: xc=233702928 RPC #12 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.062]
RMAN-08522: input datafile fno=00002 name=/paic/data/oracle/oradata/dongkuifeng/oradata/undotbs01.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.062]
DBGSQL:        sqlcode=0 [14:58:20.063]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.063] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_2: blocks=79360 block_size=4096 [14:58:20.063] (budf_name)
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=13
DBGRPC:    krmxrpc: xc=233702928 RPC #13 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.069]
RMAN-08522: input datafile fno=00003 name=/paic/data/oracle/oradata/dongkuifeng/oradata/sysaux01.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.069]
DBGSQL:        sqlcode=0 [14:58:20.069]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.070] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_2: blocks=69120 block_size=4096 [14:58:20.070] (budf_name)
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=14
DBGRPC:    krmxrpc: xc=233702928 RPC #14 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.076]
RMAN-08522: input datafile fno=00005 name=/paic/data/oracle/oradata/dongkuifeng/oradata/undodjy.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.076]
DBGSQL:        sqlcode=0 [14:58:20.076]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.077] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_2: blocks=256 block_size=4096 [14:58:20.077] (budf_name)
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSTATUS
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=15
DBGRPC:    krmxrpc: xc=233702928 RPC #15 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=16
DBGRPC:    krmxrpc: xc=233702928 RPC #16 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.079]
RMAN-08038: channel ORA_DISK_2: starting piece 1 at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.079]
DBGSQL:        sqlcode=0 [14:58:20.080]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.080] elapsed time [00:00:00:00.001]

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:20.081]
DBGSQL:       sqlcode=0 [14:58:20.081]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET begin :deffmt:deffmti := sys . dbms_backup_restore . getParm ( :ftype , 0
 ) ; end ; [14:58:20.082]
DBGSQL:       sqlcode=0 [14:58:20.082]
DBGSQL:          :b1 = "%U"
DBGSQL:          :b3 = 8
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.GENPIECENAME
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=17
DBGRPC:    krmxrpc: xc=233702928 RPC #17 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.ISFILENAMEOMF
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=18
DBGRPC:    krmxrpc: xc=233702928 RPC #18 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=3123 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count=19
DBGRPC:    krmxrpc: xc=233702928 starting longrunning RPC #19 to target: DBMS_BACKUP_RESTORE.BACKUPPIEC
ECREATE
DBGRPC:    krmxr: xc=233702928 started long running rpc
DBGRPC:    krmxr: xc=233705312 chid=ORA_DISK_3 calling peicnt
DBGMISC:   ENTERED krmzbjob [14:58:20.202]
DBGMISC:    duration(stepid=2) starttime=839746700 [14:58:20.202] (krmzbjob)
DBGMISC:   EXITED krmzbjob with status 1 (TRUE) [14:58:20.202] elapsed time [00:00:00:00.000]
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=6
DBGRPC:    krmxrpc: xc=233705312 RPC #6 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=7
DBGRPC:    krmxrpc: xc=233705312 RPC #7 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=8
DBGRPC:    krmxrpc: xc=233705312 RPC #8 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSTATUS
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=9
DBGRPC:    krmxrpc: xc=233705312 RPC #9 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=10
DBGRPC:    krmxrpc: xc=233705312 RPC #10 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSETDATAFILE
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=11
DBGRPC:    krmxrpc: xc=233705312 RPC #11 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.302]
RMAN-08046: channel ORA_DISK_3: starting compressed full datafile backupset

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.302]
DBGSQL:        sqlcode=0 [14:58:20.303]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.303] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzgparms [14:58:20.303]
DBGMISC:    Step id = 1; Code = 2 [14:58:20.303] (krmzgparms)
DBGMISC:   EXITED krmzgparms with status 0 (FALSE) [14:58:20.303] elapsed time [00:00:00:00.000]
DBGIO:     channel ORA_DISK_3: set_stamp=839775500 set_count=14 [14:58:20.304] (budf_start)
DBGMISC:   ENTERED krmzlog [14:58:20.304]
RMAN-08010: channel ORA_DISK_3: specifying datafile(s) in backupset

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.304]
DBGSQL:        sqlcode=0 [14:58:20.304]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.305] elapsed time [00:00:00:00.001]
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=12
DBGRPC:    krmxrpc: xc=233705312 RPC #12 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.367]
RMAN-08522: input datafile fno=00001 name=/paic/data/oracle/oradata/dongkuifeng/oradata/system01.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.367]
DBGSQL:        sqlcode=0 [14:58:20.367]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.368] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_3: blocks=102400 block_size=4096 [14:58:20.368] (budf_name)
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=13
DBGRPC:    krmxrpc: xc=233705312 RPC #13 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.374]
RMAN-08522: input datafile fno=00009 name=/paic/data/oracle/oradata/dongkuifeng/oradata/users02.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.374]
DBGSQL:        sqlcode=0 [14:58:20.374]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.375] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_3: blocks=12800 block_size=4096 [14:58:20.375] (budf_name)
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=14
DBGRPC:    krmxrpc: xc=233705312 RPC #14 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.381]
RMAN-08522: input datafile fno=00007 name=/paic/data/oracle/oradata/dongkuifeng/oradata/zxr01.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.381]
DBGSQL:        sqlcode=0 [14:58:20.382]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.382] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_3: blocks=3855 block_size=4096 [14:58:20.382] (budf_name)
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSTATUS
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=15
DBGRPC:    krmxrpc: xc=233705312 RPC #15 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=16
DBGRPC:    krmxrpc: xc=233705312 RPC #16 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.385]
RMAN-08038: channel ORA_DISK_3: starting piece 1 at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.385]
DBGSQL:        sqlcode=0 [14:58:20.385]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.386] elapsed time [00:00:00:00.001]

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:20.387]
DBGSQL:       sqlcode=0 [14:58:20.387]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET begin :deffmt:deffmti := sys . dbms_backup_restore . getParm ( :ftype , 0
 ) ; end ; [14:58:20.387]
DBGSQL:       sqlcode=0 [14:58:20.388]
DBGSQL:          :b1 = "%U"
DBGSQL:          :b3 = 8
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.GENPIECENAME
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=17
DBGRPC:    krmxrpc: xc=233705312 RPC #17 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.ISFILENAMEOMF
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=18
DBGRPC:    krmxrpc: xc=233705312 RPC #18 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=3123 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count=19
DBGRPC:    krmxrpc: xc=233705312 starting longrunning RPC #19 to target: DBMS_BACKUP_RESTORE.BACKUPPIEC
ECREATE
DBGRPC:    krmxr: xc=233705312 started long running rpc
DBGRPC:    krmxr: xc=233707696 chid=ORA_DISK_4 calling peicnt
DBGMISC:   ENTERED krmzbjob [14:58:20.390]
DBGMISC:    duration(stepid=1) starttime=839746700 [14:58:20.390] (krmzbjob)
DBGMISC:   EXITED krmzbjob with status 1 (TRUE) [14:58:20.391] elapsed time [00:00:00:00.000]
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=6
DBGRPC:    krmxrpc: xc=233707696 RPC #6 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=7
DBGRPC:    krmxrpc: xc=233707696 RPC #7 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=8
DBGRPC:    krmxrpc: xc=233707696 RPC #8 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSTATUS
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=9
DBGRPC:    krmxrpc: xc=233707696 RPC #9 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=10
DBGRPC:    krmxrpc: xc=233707696 RPC #10 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSETDATAFILE
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=11
DBGRPC:    krmxrpc: xc=233707696 RPC #11 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.446]
RMAN-08046: channel ORA_DISK_4: starting compressed full datafile backupset

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.446]
DBGSQL:        sqlcode=0 [14:58:20.446]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.447] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzgparms [14:58:20.447]
DBGMISC:    Step id = 1; Code = 1 [14:58:20.447] (krmzgparms)
DBGMISC:   EXITED krmzgparms with status 0 (FALSE) [14:58:20.447] elapsed time [00:00:00:00.000]
DBGIO:     channel ORA_DISK_4: set_stamp=839775500 set_count=15 [14:58:20.447] (budf_start)
DBGMISC:   ENTERED krmzlog [14:58:20.448]
RMAN-08010: channel ORA_DISK_4: specifying datafile(s) in backupset

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.448]
DBGSQL:        sqlcode=0 [14:58:20.448]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.449] elapsed time [00:00:00:00.001]
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=12
DBGRPC:    krmxrpc: xc=233707696 RPC #12 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.570]
RMAN-08522: input datafile fno=00004 name=/paic/data/oracle/oradata/dongkuifeng/oradata/users01.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.570]
DBGSQL:        sqlcode=0 [14:58:20.571]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.571] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_4: blocks=91200 block_size=4096 [14:58:20.571] (budf_name)
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=13
DBGRPC:    krmxrpc: xc=233707696 RPC #13 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.576]
RMAN-08522: input datafile fno=00008 name=/paic/data/oracle/oradata/dongkuifeng/oradata2/myy01.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.576]
DBGSQL:        sqlcode=0 [14:58:20.577]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.577] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_4: blocks=12800 block_size=4096 [14:58:20.577] (budf_name)
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPDATAFILE
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=14
DBGRPC:    krmxrpc: xc=233707696 RPC #14 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.582]
RMAN-08522: input datafile fno=00010 name=/paic/data/oracle/oradata/dongkuifeng/oradata/dongdong.dbf

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.582]
DBGSQL:        sqlcode=0 [14:58:20.583]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.583] elapsed time [00:00:00:00.001]
DBGIO:     channel ORA_DISK_4: blocks=5120 block_size=4096 [14:58:20.583] (budf_name)
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPSTATUS
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=15
DBGRPC:    krmxrpc: xc=233707696 RPC #15 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETLIMIT
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=16
DBGRPC:    krmxrpc: xc=233707696 RPC #16 completed immediately
DBGMISC:   ENTERED krmzlog [14:58:20.585]
RMAN-08038: channel ORA_DISK_4: starting piece 1 at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.585]
DBGSQL:        sqlcode=0 [14:58:20.586]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.586] elapsed time [00:00:00:00.001]

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:20.587]
DBGSQL:       sqlcode=0 [14:58:20.587]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET begin :deffmt:deffmti := sys . dbms_backup_restore . getParm ( :ftype , 0
 ) ; end ; [14:58:20.588]
DBGSQL:       sqlcode=0 [14:58:20.588]
DBGSQL:          :b1 = "%U"
DBGSQL:          :b3 = 8
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.GENPIECENAME
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=17
DBGRPC:    krmxrpc: xc=233707696 RPC #17 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.ISFILENAMEOMF
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=18
DBGRPC:    krmxrpc: xc=233707696 RPC #18 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=3123 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count=19
DBGRPC:    krmxrpc: xc=233707696 starting longrunning RPC #19 to target: DBMS_BACKUP_RESTORE.BACKUPPIEC
ECREATE
DBGRPC:    krmxr: xc=233707696 started long running rpc
DBGRPC:    krmxpoq: xc=233700544, action="0000017 FINISHED16", col_l=18, ind=0, sid=535
DBGRPC:    krmxpod: xc=233700544 has finished remote rpc #17
DBGRPC:    krmxpoq: xc=233702928, action="0000019 STARTED16", col_l=17, ind=0, sid=534
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxpoq: xc=233707696, action="0000019 STARTED16", col_l=17, ind=0, sid=532
DBGRPC:    krmxr: xc=233700544 chid=ORA_DISK_1 calling peicnt
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
DBGRPC:    krmxrpc: xc=233700544 finishing RPC #17 to target
DBGIO:     Type %Comp Blocks     Tot Blocks Blksize    ElpTime(s) IO Rt(b/s) Name [14:58:20.595] (krmkq
io)
DBGIO:     ---- ----- ---------- ---------- ---------- ---------- ---------- ----- [14:58:20.595] (krmk
qio)
DBGIO:     IN   0.0   129        591360     4096       0          0          /paic/data/oracle/oradata/
dongkuifeng/oradata/test01.dbf [14:58:20.595] (krmkqio)
DBGIO:     OUT        20                    4096       0          0          /paic/data/oracle/oradata/
dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_17/o1_mf_nnndf_TAG20140217T145819_%u_.bkp [14:58:20
.595] (krmkqio)
DBGIO:     AGG  0.0   129        591360     4096       0          0            [14:58:20.596] (krmkqio)
DBGMISC:   ENTERED krmzlog [14:58:20.596]
RMAN-08044: channel ORA_DISK_1: finished piece 1 at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.597]
DBGSQL:        sqlcode=0 [14:58:20.597]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.598] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzlog [14:58:20.598]
RMAN-08530: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_
17/o1_mf_nnndf_TAG20140217T145819_9j3drcx2_.bkp tag=TAG20140217T145819 comment=NONE

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.598]
DBGSQL:        sqlcode=0 [14:58:20.599]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.599] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzlog [14:58:20.601]
RMAN-08540: channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:20.601]
DBGSQL:        sqlcode=0 [14:58:20.601]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:20.602] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzejob [14:58:20.602]
DBGMISC:    Input Args(failed=0),(errnum=0) [14:58:20.602] (krmzejob)
DBGMISC:    duration(stepid=4),endtime=839746700,jobtime=1s [14:58:20.602] (krmzejob)
DBGMISC:    duration(stepid=4), remaining(chn sec,bytes)=(0,3966038016) [14:58:20.602] (krmzejob)
DBGMISC:   EXITED krmzejob with status 1 (TRUE) [14:58:20.603] elapsed time [00:00:00:00.000]
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.GETLIMIT
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=18
DBGRPC:    krmxrpc: xc=233700544 RPC #18 completed immediately
DBGRPC:    krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:    krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=19
DBGRPC:    krmxrpc: xc=233700544 RPC #19 completed immediately
DBGRPC:    krmxr: xc=233700544 finished step
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel default (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=1 status=STARTED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:           3 STEP id=3 status=STARTED
DBGRPC:           4 STEP id=4 status=FINISHED
DBGRPC:     krmqgns: no work found for channel default (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: channel ORA_DISK_1 finished step 4 (krmqgns)
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=1 status=STARTED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:           3 STEP id=3 status=STARTED
DBGRPC:     krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    krmxpoq: xc=233702928, action="0000019 STARTED16", col_l=17, ind=0, sid=534
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxpoq: xc=233707696, action="0000019 STARTED16", col_l=17, ind=0, sid=532
DBGRPC:    krmxr: callback returned TRUE, skipping sleep
DBGRPC:    krmxpoq: xc=233702928, action="0000019 STARTED16", col_l=17, ind=0, sid=534
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxpoq: xc=233707696, action="0000019 STARTED16", col_l=17, ind=0, sid=532
DBGRPC:    krmxr: sleeping for 1 seconds
DBGRPC:    krmxpoq: xc=233702928, action="0000019 STARTED16", col_l=17, ind=0, sid=534
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxpoq: xc=233707696, action="0000019 STARTED16", col_l=17, ind=0, sid=532
DBGRPC:    krmxr: sleeping for 2 seconds
DBGRPC:    krmxpoq: xc=233702928, action="0000019 STARTED16", col_l=17, ind=0, sid=534
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxpoq: xc=233707696, action="0000019 STARTED16", col_l=17, ind=0, sid=532
DBGRPC:    krmxr: sleeping for 4 seconds
DBGRPC:    krmxpoq: xc=233702928, action="0000019 STARTED16", col_l=17, ind=0, sid=534
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxpoq: xc=233707696, action="0000019 STARTED16", col_l=17, ind=0, sid=532
DBGRPC:    krmxr: sleeping for 8 seconds
DBGRPC:    krmxpoq: xc=233702928, action="0000019 FINISHED16", col_l=18, ind=0, sid=534
DBGRPC:    krmxpod: xc=233702928 has finished remote rpc #19
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxpoq: xc=233707696, action="0000019 FINISHED16", col_l=18, ind=0, sid=532
DBGRPC:    krmxpod: xc=233707696 has finished remote rpc #19
DBGRPC:    krmxr: xc=233702928 chid=ORA_DISK_2 calling peicnt
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
DBGRPC:    krmxrpc: xc=233702928 finishing RPC #19 to target
DBGIO:     Type %Comp Blocks     Tot Blocks Blksize    ElpTime(s) IO Rt(b/s) Name [14:58:35.627] (krmkq
io)
DBGIO:     ---- ----- ---------- ---------- ---------- ---------- ---------- ----- [14:58:35.627] (krmk
qio)
DBGIO:     IN   100.0 256        256        4096       0          0          /paic/data/oracle/oradata/
dongkuifeng/oradata/undodjy.dbf [14:58:35.628] (krmkqio)
DBGIO:     IN   16.3  12945      79360      4096       3          17674240   /paic/data/oracle/oradata/
dongkuifeng/oradata/undotbs01.dbf [14:58:35.628] (krmkqio)
DBGIO:     IN   79.8  55185      69120      4096       8          28254720   /paic/data/oracle/oradata/
dongkuifeng/oradata/sysaux01.dbf [14:58:35.628] (krmkqio)
DBGIO:     OUT        10382                 4096       8          5315584    /paic/data/oracle/oradata/
dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_17/o1_mf_nnndf_TAG20140217T145819_%u_.bkp [14:58:35
.628] (krmkqio)
DBGIO:     AGG  46.0  68386      148736     4096       8          35013632     [14:58:35.629] (krmkqio)
DBGMISC:   ENTERED krmzlog [14:58:35.630]
RMAN-08044: channel ORA_DISK_2: finished piece 1 at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:35.630]
DBGSQL:        sqlcode=0 [14:58:35.631]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:35.631] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzlog [14:58:35.631]
RMAN-08530: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_
17/o1_mf_nnndf_TAG20140217T145819_9j3drdc9_.bkp tag=TAG20140217T145819 comment=NONE

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:35.632]
DBGSQL:        sqlcode=0 [14:58:35.632]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:35.632] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzlog [14:58:35.634]
RMAN-08540: channel ORA_DISK_2: backup set complete, elapsed time: 00:00:16

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:35.634]
DBGSQL:        sqlcode=0 [14:58:35.634]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:35.635] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzejob [14:58:35.635]
DBGMISC:    Input Args(failed=0),(errnum=0) [14:58:35.635] (krmzejob)
DBGMISC:    duration(stepid=3),endtime=839746715,jobtime=16s [14:58:35.635] (krmzejob)
DBGMISC:    duration(stepid=3), remaining(chn sec,bytes)=(0,3966038016) [14:58:35.635] (krmzejob)
DBGMISC:   EXITED krmzejob with status 1 (TRUE) [14:58:35.635] elapsed time [00:00:00:00.000]
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.GETLIMIT
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=20
DBGRPC:    krmxrpc: xc=233702928 RPC #20 completed immediately
DBGRPC:    krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:    krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=21
DBGRPC:    krmxrpc: xc=233702928 RPC #21 completed immediately
DBGRPC:    krmxr: xc=233702928 finished step
DBGSQL:    ENTERED krmkusl [14:58:35.638]
DBGSQL:    EXITED krmkusl with status 0 [14:58:35.639] elapsed time [00:00:00:00.001]
DBGSQL:    ENTERED krmkusl [14:58:35.639]
DBGSQL:    EXITED krmkusl with status 0 [14:58:35.639] elapsed time [00:00:00:00.000]
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel default (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=1 status=STARTED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:           3 STEP id=3 status=FINISHED
DBGRPC:     krmqgns: no work found for channel default (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=1 status=STARTED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:           3 STEP id=3 status=FINISHED
DBGRPC:     krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: channel ORA_DISK_2 finished step 3 (krmqgns)
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=1 status=STARTED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:     krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    krmxr: xc=233707696 chid=ORA_DISK_4 calling peicnt
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
DBGRPC:    krmxrpc: xc=233707696 finishing RPC #19 to target
DBGIO:     Type %Comp Blocks     Tot Blocks Blksize    ElpTime(s) IO Rt(b/s) Name [14:58:35.643] (krmkq
io)
DBGIO:     ---- ----- ---------- ---------- ---------- ---------- ---------- ----- [14:58:35.643] (krmk
qio)
DBGIO:     IN   0.3   17         5120       4096       0          0          /paic/data/oracle/oradata/
dongkuifeng/oradata/dongdong.dbf [14:58:35.643] (krmkqio)
DBGIO:     IN   0.1   17         12800      4096       0          0          /paic/data/oracle/oradata/
dongkuifeng/oradata2/myy01.dbf [14:58:35.643] (krmkqio)
DBGIO:     IN   99.7  90897      91200      4096       10         37231411   /paic/data/oracle/oradata/
dongkuifeng/oradata/users01.dbf [14:58:35.643] (krmkqio)
DBGIO:     OUT        10386                 4096       10         4254105    /paic/data/oracle/oradata/
dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_17/o1_mf_nnndf_TAG20140217T145819_%u_.bkp [14:58:35
.644] (krmkqio)
DBGIO:     AGG  83.3  90931      109120     4096       10         37245337     [14:58:35.644] (krmkqio)
DBGMISC:   ENTERED krmzlog [14:58:35.644]
RMAN-08044: channel ORA_DISK_4: finished piece 1 at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:35.645]
DBGSQL:        sqlcode=0 [14:58:35.645]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:35.646] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzlog [14:58:35.646]
RMAN-08530: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_
17/o1_mf_nnndf_TAG20140217T145819_9j3drdng_.bkp tag=TAG20140217T145819 comment=NONE

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:35.646]
DBGSQL:        sqlcode=0 [14:58:35.647]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:35.647] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzlog [14:58:35.648]
RMAN-08540: channel ORA_DISK_4: backup set complete, elapsed time: 00:00:15

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:35.648]
DBGSQL:        sqlcode=0 [14:58:35.649]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:35.649] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzejob [14:58:35.649]
DBGMISC:    Input Args(failed=0),(errnum=0) [14:58:35.649] (krmzejob)
DBGMISC:    duration(stepid=1),endtime=839746715,jobtime=15s [14:58:35.650] (krmzejob)
DBGMISC:    duration(stepid=1), remaining(chn sec,bytes)=(0,3966038016) [14:58:35.650] (krmzejob)
DBGMISC:   EXITED krmzejob with status 1 (TRUE) [14:58:35.650] elapsed time [00:00:00:00.000]
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.GETLIMIT
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=20
DBGRPC:    krmxrpc: xc=233707696 RPC #20 completed immediately
DBGRPC:    krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:    krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=21
DBGRPC:    krmxrpc: xc=233707696 RPC #21 completed immediately
DBGRPC:    krmxr: xc=233707696 finished step
DBGSQL:    ENTERED krmkusl [14:58:35.652]
DBGSQL:    EXITED krmkusl with status 0 [14:58:35.652] elapsed time [00:00:00:00.000]
DBGSQL:    ENTERED krmkusl [14:58:35.652]
DBGSQL:    EXITED krmkusl with status 0 [14:58:35.652] elapsed time [00:00:00:00.000]
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel default (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=1 status=FINISHED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:     krmqgns: no work found for channel default (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=1 status=FINISHED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:     krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=1 status=FINISHED
DBGRPC:           2 STEP id=2 status=STARTED
DBGRPC:     krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: channel ORA_DISK_4 finished step 1 (krmqgns)
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=2 status=STARTED
DBGRPC:     krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxr: callback returned TRUE, skipping sleep
DBGRPC:    krmxpoq: xc=233705312, action="0000019 STARTED16", col_l=17, ind=0, sid=533
DBGRPC:    krmxr: sleeping for 1 seconds
DBGRPC:    krmxpoq: xc=233705312, action="0000019 FINISHED16", col_l=18, ind=0, sid=533
DBGRPC:    krmxpod: xc=233705312 has finished remote rpc #19
DBGRPC:    krmxr: xc=233705312 chid=ORA_DISK_3 calling peicnt
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
DBGRPC:    krmxrpc: xc=233705312 finishing RPC #19 to target
DBGIO:     Type %Comp Blocks     Tot Blocks Blksize    ElpTime(s) IO Rt(b/s) Name [14:58:36.658] (krmkq
io)
DBGIO:     ---- ----- ---------- ---------- ---------- ---------- ---------- ----- [14:58:36.658] (krmk
qio)
DBGIO:     IN   100.0 3855       3855       4096       2          7895040    /paic/data/oracle/oradata/
dongkuifeng/oradata/zxr01.dbf [14:58:36.659] (krmkqio)
DBGIO:     IN   100.0 12800      12800      4096       3          17476266   /paic/data/oracle/oradata/
dongkuifeng/oradata/users02.dbf [14:58:36.659] (krmkqio)
DBGIO:     IN   91.5  93713      102400     4096       14         27417746   /paic/data/oracle/oradata/
dongkuifeng/oradata/system01.dbf [14:58:36.659] (krmkqio)
DBGIO:     OUT        19550                 4096       14         5719771    /paic/data/oracle/oradata/
dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_17/o1_mf_nnndf_TAG20140217T145819_%u_.bkp [14:58:36
.659] (krmkqio)
DBGIO:     AGG  92.7  110368     119055     4096       14         32290523     [14:58:36.660] (krmkqio)
DBGMISC:   ENTERED krmzlog [14:58:36.660]
RMAN-08044: channel ORA_DISK_3: finished piece 1 at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:36.661]
DBGSQL:        sqlcode=0 [14:58:36.661]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:36.662] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzlog [14:58:36.662]
RMAN-08530: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/backupset/2014_02_
17/o1_mf_nnndf_TAG20140217T145819_9j3drdko_.bkp tag=TAG20140217T145819 comment=NONE

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:36.662]
DBGSQL:        sqlcode=0 [14:58:36.663]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:36.663] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzlog [14:58:36.664]
RMAN-08540: channel ORA_DISK_3: backup set complete, elapsed time: 00:00:16

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:36.665]
DBGSQL:        sqlcode=0 [14:58:36.665]
DBGSQL:           :b1 = 0
DBGMISC:   EXITED krmzlog [14:58:36.665] elapsed time [00:00:00:00.001]
DBGMISC:   ENTERED krmzejob [14:58:36.666]
DBGMISC:    Input Args(failed=0),(errnum=0) [14:58:36.666] (krmzejob)
DBGMISC:    duration(stepid=2),endtime=839746716,jobtime=16s [14:58:36.666] (krmzejob)
DBGMISC:    duration(stepid=2), remaining(chn sec,bytes)=(0,3966038016) [14:58:36.666] (krmzejob)
DBGMISC:   EXITED krmzejob with status 1 (TRUE) [14:58:36.666] elapsed time [00:00:00:00.000]
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.GETLIMIT
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=20
DBGRPC:    krmxrpc: xc=233705312 RPC #20 completed immediately
DBGRPC:    krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:    krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=21
DBGRPC:    krmxrpc: xc=233705312 RPC #21 completed immediately
DBGRPC:    krmxr: xc=233705312 finished step
DBGSQL:    ENTERED krmkusl [14:58:36.668]
DBGSQL:    EXITED krmkusl with status 0 [14:58:36.669] elapsed time [00:00:00:00.000]
DBGSQL:    ENTERED krmkusl [14:58:36.669]
DBGSQL:    EXITED krmkusl with status 0 [14:58:36.669] elapsed time [00:00:00:00.000]
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel default (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=2 status=FINISHED
DBGRPC:     krmqgns: no work found for channel default (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=2 status=FINISHED
DBGRPC:     krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     CMD type=backup id=1 status=STARTED
DBGRPC:           1 STEP id=2 status=FINISHED
DBGRPC:     krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: channel ORA_DISK_3 finished step 2 (krmqgns)
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel default (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     krmqgns: no work found for channel default (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1
DBGRPC:    ENTERED krmqgns
DBGRPC:     krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:     krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:     krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:    (krmqgns)
DBGRPC:    EXITED krmqgns with status 1

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:36.672]
DBGSQL:       sqlcode=0 [14:58:36.673]
DBGSQL:          :b1 = 0
DBGSQL:    ENTERED krmkusl [14:58:36.673]
DBGSQL:    EXITED krmkusl with status 0 [14:58:36.674] elapsed time [00:00:00:00.000]
DBGSQL:    ENTERED krmkusl [14:58:36.674]
DBGSQL:    EXITED krmkusl with status 0 [14:58:36.674] elapsed time [00:00:00:00.000]
DBGMISC:   Finished backup at 17-FEB-14 [14:58:36.675]
RMAN-03091: Finished backup at 17-FEB-14

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:36.675]
DBGSQL:       sqlcode=0 [14:58:36.675]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :b1,
:b2  from v$instance  [14:58:36.676]
DBGSQL:       sqlcode=0 [14:58:36.676]
DBGSQL:          :b1 = 0
DBGSQL:          :b2 = 0

DBGSQL:    EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14:58
:36.676]
DBGSQL:       sqlcode=0 [14:58:36.686]
DBGSQL:          :b1 = "10.2.0.5.0"

DBGSQL:    EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varchar2
( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt , '
.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else dot3
rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1 ) ,
 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( substr (
 comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end ; [
14:58:36.686]
DBGSQL:       sqlcode=0 [14:58:36.687]
DBGSQL:          :b1 = "10.2.0.5.0"
DBGSQL:          :b2 = 100200
DBGMISC:   krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:36.688]
DBGMISC:   trying implicit resync after executing command backup [14:58:36.688]
DBGMISC:   ENTERED krmknrsn [14:58:36.688]

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:36.688]
DBGSQL:        sqlcode=0 [14:58:36.689]
DBGSQL:           :b1 = 0

DBGSQL:     EXEC SQL AT TARGET select controlfile_type ,controlfile_change# ,controlfile_sequence# ,con
trolfile_created ,decode(offr.records_used,0,0,((offr.last_recid-offr.records_used)+1)) into :b1,:b2,:b
3,:b4,:b5  from v$database ,v$controlfile_record_section offr where offr.type='OFFLINE RANGE' [14:58:36
.689]
DBGSQL:        sqlcode=0 [14:58:36.690]
DBGSQL:           :b1 = "CURRENT"
DBGSQL:           :b2 = 26166386
DBGSQL:           :b3 = 19873
DBGSQL:           :b4 = "14-SEP-12"
DBGSQL:           :b5 = 0

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:36.691]
DBGSQL:        sqlcode=0 [14:58:36.692]
DBGSQL:           :b1 = 0

DBGSQL:     EXEC SQL AT TARGET select nvl(max(al.recid),0) into :b1  from v$archived_log al where ((al.
status in ('X','A') and al.is_recovery_dest_file='YES') and al.creator='RMAN') [14:58:36.692]
DBGSQL:        sqlcode=0 [14:58:36.693]
DBGSQL:           :b1 = 0

DBGSQL:     EXEC SQL AT TARGET _section tf ,v$controlfile_record_section ts ,v$controlfile_record_secti
on rl ,v$controlfile_record_section rm ,v$controlfile_record_section dc ,v$controlfile_record_section a
l ,v$controlfile_record_section bp ,v$controlfile_record_section do ,v$controlfile_record_section offr
,v$controlfile_record_section pc ,v$controlfile_record_section bs ,v$controlfile_record_section ic ,v$c
ontrolfile_record_section grsp ,v$database_incarnation dbinc ,v$database_incarnation ldbinc where (((((
((((((((((df.type='DATAFILE' and tf.type='TEMPORARY FILENAME') and ts.type='TABLESPACE') and rl.type='R
EDO LOG') and rm.type='RMAN CONFIGURATION') and dc.type='DATAFILE COPY') and al.type='ARCHIVED LOG') an
d bp.type='BACKUP PIECE') and do.type='DELETED OBJECT') and offr.type='OFFLINE RANGE') and pc.type='PRO
XY COPY') and bs.type='BACKUP SET') and ic.type='DATABASE INCARNATION') and grsp.type='GUARANTEED RESTO
RE POINT') and dbinc.incarnation#=db.recovery_target_incarnation#) and ldbinc.incarnation#=db.last_open
_incarnation#) [14:58:36.694]
DBGSQL:        sqlcode=0 [14:58:36.699]
DBGSQL:           :b1 = "14-SEP-12"
DBGSQL:           :b2 = 26166386
DBGSQL:           :b3 = 19873
DBGSQL:           :b4 = "18-OCT-13"
DBGSQL:           :b5 = 4929
DBGSQL:           :b6 = 1
DBGSQL:           :b7 = 28
DBGSQL:           :b8 = 15
DBGSQL:           :b9 = 3
DBGSQL:           :b10 = 0
DBGSQL:           :b11 = 58
DBGSQL:           :b12 = 4
DBGSQL:           :b13 = 0
DBGSQL:           :b14 = 0
DBGSQL:           :b15 = 0
DBGSQL:           :b16 = 4
DBGSQL:           :b17 = 21559129
DBGSQL:           :b18 = "18-OCT-13"
DBGSQL:           :b19 = 2
DBGSQL:           :b20 = 0
DBGSQL:           :b21 = 0
DBGSQL:           :b22 = 1
DBGSQL:           :b23 = 1
DBGSQL:           :b24 = 1
DBGSQL:           :b25 = 0
DBGSQL:           :b26 = 0
DBGSQL:           :b27 = 0
DBGMISC:    resync=3, newbck=1, needref=1 [14:58:36.700] (krmknrsn)
DBGMISC:   EXITED krmknrsn [14:58:36.701] elapsed time [00:00:00:00.012]
DBGMISC:   ENTERED krmkgdconf [14:58:36.701]
DBGMISC:    input devtype=null [14:58:36.701] (krmkgdconf)
DBGMISC:    Entering krmkgconf [14:58:36.701]
DBGMISC:    krmkgconf: Configuration is CONTROLFILE AUTOBACKUP [14:58:36.701]

DBGSQL:     EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then firs
t := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:valu
e_i , first ) ; end ; [14:58:36.701]
DBGSQL:        sqlcode=0 [14:58:36.702]
DBGSQL:           :b1 = 1
DBGSQL:           :b2 = "CONTROLFILE AUTOBACKUP"
DBGSQL:           :b4 = "ON"

DBGSQL:     EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then firs
t := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:valu
e_i , first ) ; end ; [14:58:36.702]
DBGSQL:        sqlcode=1403 [14:58:36.703]
DBGMISC:    Function kmkgconf created the following tree: [14:58:36.703]
DBGMISC:    configure
DBGMISC:      1 CFAU
DBGMISC:          1 ON
DBGMISC:    EXIT
DBGMISC:    Exiting krmkgconf [14:58:36.704]
DBGMISC:    CFAU
DBGMISC:      1 ON
DBGMISC:   EXITED krmkgdconf [14:58:36.704] elapsed time [00:00:00:00.003]

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:36.704]
DBGSQL:       sqlcode=0 [14:58:36.704]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET select count(*)  into :b1  from v$parameter where (name='spfile' and valu
e is  not null ) [14:58:36.705]
DBGSQL:       sqlcode=0 [14:58:36.716]
DBGSQL:          :b1 = 1


DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:58:36.717]
DBGSQL:       sqlcode=0 [14:58:36.717]
DBGSQL:          :b1 = 0
DBGMISC:   ENTERED krmice [14:58:36.718]
DBGMISC:    command to be compiled and executed is: Control File and SPFILE Autobackup  [14:58:36.718]
(krmice)
DBGMISC:    command after this command is: NONE  [14:58:36.718] (krmice)
DBGMISC:    current incarnation does not matter for Control File and SPFILE Autobackup [14:58:36.718] (
krmice)
DBGMISC:    ENTERED krmkcrsr [14:58:36.718]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:36.719]
DBGSQL:         sqlcode=0 [14:58:36.719]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET begin sys . dbms_backup_restore . createRmanStatusRow ( level => :level
 , parent_id => :pid , parent_stamp => :pts , status => :status , command_id => :command_id , operation
 => :operation , row_id => :row_id , row_stamp => :row_stamp , flags => :flags ) ; end ; [14:58:36.720]
DBGSQL:         sqlcode=0 [14:58:36.802]
DBGSQL:            :b1 = 2
DBGSQL:            :b2 = 14
DBGSQL:            :b3 = 839775497
DBGSQL:            :b4 = 1
DBGSQL:            :b5 = "2014-02-17T14:58:09"
DBGSQL:            :b6 = "Control File and SPFILE Autoback"
DBGSQL:            :b7 = 15
DBGSQL:            :b8 = 839775516
DBGSQL:            :b9 = 0
DBGMISC:    EXITED krmkcrsr [14:58:36.803] elapsed time [00:00:00:00.084]
RMAN-03090: Starting Control File and SPFILE Autobackup at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:36.803]
DBGSQL:        sqlcode=0 [14:58:36.804]
DBGSQL:           :b1 = 0
DBGANY:     trying implicit resync before compiling command Control File and SPFILE Autobackup [14:58:3
6.805]
DBGMISC:    ENTERED krmknrsn [14:58:36.805]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:36.805]
DBGSQL:         sqlcode=0 [14:58:36.805]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select nvl(max(al.recid),0) into :b1  from v$archived_log al where ((al
.status in ('X','A') and al.is_recovery_dest_file='YES') and al.creator='RMAN') [14:58:36.806]
DBGSQL:         sqlcode=0 [14:58:36.808]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET _section tf ,v$controlfile_record_section ts ,v$controlfile_record_sect
ion rl ,v$controlfile_record_section rm ,v$controlfile_record_section dc ,v$controlfile_record_section
al ,v$controlfile_record_section bp ,v$controlfile_record_section do ,v$controlfile_record_section offr
 ,v$controlfile_record_section pc ,v$controlfile_record_section bs ,v$controlfile_record_section ic ,v$
controlfile_record_section grsp ,v$database_incarnation dbinc ,v$database_incarnation ldbinc where ((((
(((((((((((df.type='DATAFILE' and tf.type='TEMPORARY FILENAME') and ts.type='TABLESPACE') and rl.type='
REDO LOG') and rm.type='RMAN CONFIGURATION') and dc.type='DATAFILE COPY') and al.type='ARCHIVED LOG') a
nd bp.type='BACKUP PIECE') and do.type='DELETED OBJECT') and offr.type='OFFLINE RANGE') and pc.type='PR
OXY COPY') and bs.type='BACKUP SET') and ic.type='DATABASE INCARNATION') and grsp.type='GUARANTEED REST
ORE POINT') and dbinc.incarnation#=db.recovery_target_incarnation#) and ldbinc.incarnation#=db.last_ope
n_incarnation#) [14:58:36.809]
DBGSQL:         sqlcode=0 [14:58:36.815]
DBGSQL:            :b1 = "14-SEP-12"
DBGSQL:            :b2 = 26166386
DBGSQL:            :b3 = 19874
DBGSQL:            :b4 = "18-OCT-13"
DBGSQL:            :b5 = 4929
DBGSQL:            :b6 = 1
DBGSQL:            :b7 = 28
DBGSQL:            :b8 = 15
DBGSQL:            :b9 = 3
DBGSQL:            :b10 = 0
DBGSQL:            :b11 = 58
DBGSQL:            :b12 = 4
DBGSQL:            :b13 = 0
DBGSQL:            :b14 = 0
DBGSQL:            :b15 = 0
DBGSQL:            :b16 = 4
DBGSQL:            :b17 = 21559129
DBGSQL:            :b18 = "18-OCT-13"
DBGSQL:            :b19 = 2
DBGSQL:            :b20 = 0
DBGSQL:            :b21 = 0
DBGSQL:            :b22 = 1
DBGSQL:            :b23 = 1
DBGSQL:            :b24 = 1
DBGSQL:            :b25 = 0
DBGSQL:            :b26 = 0
DBGSQL:            :b27 = 0
DBGMISC:     resync=3, newbck=1, needref=1 [14:58:36.817] (krmknrsn)
DBGMISC:    EXITED krmknrsn [14:58:36.817] elapsed time [00:00:00:00.011]
DBGMISC:    ENTERED krmkomp [14:58:36.817]
DBGMISC:     Name translation defaults to catalog - 2 [14:58:36.817] (krmkomp)
DBGMISC:     ENTERED krmknmtr [14:58:36.817]

DBGSQL:       EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :
b1,:b2  from v$instance  [14:58:36.817]
DBGSQL:          sqlcode=0 [14:58:36.818]
DBGSQL:             :b1 = 0
DBGSQL:             :b2 = 0

DBGSQL:       EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14
:58:36.818]
DBGSQL:          sqlcode=0 [14:58:36.828]
DBGSQL:             :b1 = "10.2.0.5.0"

DBGSQL:       EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varcha
r2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt
, '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else d
ot3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1
) , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( subst
r ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end
; [14:58:36.829]
DBGSQL:          sqlcode=0 [14:58:36.830]
DBGSQL:             :b1 = "10.2.0.5.0"
DBGSQL:             :b2 = 100200
DBGMISC:      krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:36.830]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:36.830]
DBGSQL:          sqlcode=0 [14:58:36.831]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET rcvman . getAlBackup ; :listAlCopy := dbms_rcvman . listAlCopy ; :list
BSet := dbms_rcvman . listBSet ; :getAllBSet := dbms_rcvman . getAllBSet ; :listAlProxy := dbms_rcvman
. listAlProxy ; :getRangeAlBackup := dbms_rcvman . getRangeAlBackup ; :unknownCmd := dbms_rcvman . unkn
ownCmd_t ; :recoverCmd := dbms_rcvman . recoverCmd_t ; :rcvCopyCmd := dbms_rcvman . rcvCopyCmd_t ; :res
toreCmd := dbms_rcvman . restoreCmd_t ; end ; [14:58:36.831]
DBGSQL:          sqlcode=0 [14:58:36.833]
DBGSQL:             :b1 = 1
DBGSQL:             :b2 = 0
DBGSQL:             :b3 = 2
DBGSQL:             :b4 = 1
DBGSQL:             :b5 = 3
DBGSQL:             :b6 = 4
DBGSQL:             :b7 = 1
DBGSQL:             :b8 = 2
DBGSQL:             :b9 = 4
DBGSQL:             :b10 = 8
DBGSQL:             :b11 = 16
DBGSQL:             :b12 = 1
DBGSQL:             :b13 = 2
DBGSQL:             :b14 = 4
DBGSQL:             :b15 = 1
DBGSQL:             :b16 = 2
DBGSQL:             :b17 = 1
DBGSQL:             :b18 = 2
DBGSQL:             :b19 = 4
DBGSQL:             :b20 = 8
DBGSQL:             :b21 = 512
DBGSQL:             :b22 = 16
DBGSQL:             :b23 = 1
DBGSQL:             :b24 = 2
DBGSQL:             :b25 = 4
DBGSQL:             :b26 = 8
DBGSQL:             :b27 = 32
DBGSQL:             :b28 = 16
DBGSQL:             :b29 = 128
DBGSQL:             :b30 = 0
DBGSQL:             :b31 = 1
DBGSQL:             :b32 = 2
DBGSQL:             :b33 = 3
DBGSQL:             :b34 = 14
DBGSQL:             :b35 = 4
DBGSQL:             :b36 = 5
DBGSQL:             :b37 = 6
DBGSQL:             :b38 = 15
DBGSQL:             :b39 = 7
DBGSQL:             :b40 = 8
DBGSQL:             :b41 = 9
DBGSQL:             :b42 = 10
DBGSQL:             :b43 = 11
DBGSQL:             :b44 = 12
DBGSQL:             :b45 = 13
DBGSQL:             :b46 = 16
DBGSQL:             :b47 = 17
DBGSQL:             :b48 = 18
DBGSQL:             :b49 = 0
DBGSQL:             :b50 = 1
DBGSQL:             :b51 = 2
DBGSQL:             :b52 = 4
    DBGRCVMAN: resetAll
    DBGRCVMAN: setRAflags kindMask=255 containerMask=15 actionMask=63
    DBGRCVMAN:  ENTERING setComputeRecoveryActionMasks
    DBGRCVMAN:  EXITING setComputeRecoveryActionMasks
    DBGRCVMAN: allIncarnations is set to FALSE
    DBGRCVMAN: reset transclause
    DBGRCVMAN: *****BsRecCache Statistics*****
    DBGRCVMAN: Cache size=0 hit=0
    DBGRCVMAN: rcvRecBackupAge= 0
    DBGRCVMAN: thisBackupAge= 0
    DBGRCVMAN:  ENTERING setRedoLogDeletionPolicy
    DBGRCVMAN:     setRedoLogDeletionPolicy with policy = TO NONE
    DBGRCVMAN:     setRedoLogDeletionPolicy with alldest = 0
    DBGRCVMAN:   ENTERING validateStandbyConfig1
    DBGRCVMAN: policy  = TO NONE
    DBGRCVMAN: alldest = 0
    DBGRCVMAN:   EXITING validateStandbyConfig1 with target   = NULLwith status   = 1
    DBGRCVMAN:  EXITING setRedoLogDeletionPolicy with policy = TO NONE with target = NULL with bind  =
MANDATORY
DBGMISC:      krmknmtr:  the parse tree after name translation is: [14:58:36.840]
DBGMISC:     EXITED krmknmtr with status Control File and SPFILE Autobackup [14:58:36.840] elapsed time
 [00:00:00:00.022]
DBGMISC:     krmkdps: this_reset_scn=21559129 [14:58:36.840]
DBGMISC:     krmkdps: this_reset_time=18-OCT-13 [14:58:36.840]
DBGMISC:     krmkdps: untilSCN= [14:58:36.841]
DBGMISC:     krmkdps: untilTime= [14:58:36.841]
DBGMISC:     krmkdps: getRA_completedAfter= [14:58:36.841]
DBGMISC:     krmkdps: getRA_completedBefore= [14:58:36.841]
DBGMISC:     krmkdps: getRA_likePattern= [14:58:36.842]
DBGMISC:     krmkdps: getRA_containerMask=15 [14:58:36.842]
DBGMISC:     krmkdps: getRA_actionMask=63 [14:58:36.842]
DBGMISC:     krmkdps: computeRA_allRecords0 [14:58:36.842]
DBGMISC:     krmkdps: computeRA_fullBackups=1 [14:58:36.843]
DBGMISC:     krmkdps: allIncarnations=0 [14:58:36.843]
DBGMISC:     ENTERED krmkbaut [14:58:36.843]
DBGMISC:      Entering krmkgconf [14:58:36.843]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:36.843]
DBGSQL:          sqlcode=0 [14:58:36.844]
DBGSQL:             :b1 = 0

DBGSQL:       EXEC SQL AT TARGET select controlfile_type ,controlfile_change# ,controlfile_sequence# ,c
ontrolfile_created ,decode(offr.records_used,0,0,((offr.last_recid-offr.records_used)+1)) into :b1,:b2,
:b3,:b4,:b5  from v$database ,v$controlfile_record_section offr where offr.type='OFFLINE RANGE' [14:58:
36.844]
DBGSQL:          sqlcode=0 [14:58:36.845]
DBGSQL:             :b1 = "CURRENT"
DBGSQL:             :b2 = 26166386
DBGSQL:             :b3 = 19874
DBGSQL:             :b4 = "14-SEP-12"
DBGSQL:             :b5 = 0
DBGMISC:      krmkgconf: Configuration is ENCRYPTION FOR DATABASE [14:58:36.846]

DBGSQL:       EXEC SQL AT TARGET declare first boolean ; conf# number ; begin if ( :first > 0 ) then fi
rst := TRUE ; else first := FALSE ; end if ; dbms_rcvman . getConfig ( conf# , :name:name_i , :value:va
lue_i , first ) ; end ; [14:58:36.846]
DBGSQL:          sqlcode=1403 [14:58:36.847]
DBGMISC:      Function kmkgconf created the following tree: [14:58:36.847]
DBGMISC:      EXIT
DBGMISC:      Exiting krmkgconf [14:58:36.847]
DBGMISC:      Configured NoEncrypt at db level [14:58:36.847]
DBGMISC:      No Encrypt backup init(ee32c78) for cfile [14:58:36.847]
DBGMISC:     EXITED krmkbaut [14:58:36.847] elapsed time [00:00:00:00.004]
DBGMISC:    EXITED krmkomp [14:58:36.847] elapsed time [00:00:00:00.030]
DBGPLSQL:   the compiled command tree is: [14:58:36.847] (krmicomp)
DBGPLSQL:     1 CMD type=Control File and SPFILE Autobackup id=1 status=NOT STARTED
DBGPLSQL:         1 STEP id=1 status=NOT STARTED
DBGPLSQL:             1 TEXTNOD = declare
DBGPLSQL:             2 TEXTNOD =    ncopies      number;
DBGPLSQL:             3 TEXTNOD =    copyno       number;
DBGPLSQL:             4 TEXTNOD =    handle       varchar2(512);
DBGPLSQL:             5 TEXTNOD =    comment      varchar2(80);
DBGPLSQL:             6 TEXTNOD =    media        varchar2(80);
DBGPLSQL:             7 TEXTNOD =    lcfaudate    date;
DBGPLSQL:             8 TEXTNOD =    lsequence    binary_integer;
DBGPLSQL:             9 TEXTNOD =    lbautfmt     varchar2(512);
DBGPLSQL:            10 TEXTNOD =    rsid         number;
DBGPLSQL:            11 TEXTNOD =    rsts         number;
DBGPLSQL:            12 TEXTNOD =    p1           binary_integer    := 0;
DBGPLSQL:            13 TEXTNOD =    p2           binary_integer;
DBGPLSQL:            14 TEXTNOD =    p3           binary_integer;
DBGPLSQL:            15 TEXTNOD =    p4           binary_integer;
DBGPLSQL:            16 TEXTNOD =    p5           binary_integer;
DBGPLSQL:            17 TEXTNOD =    t1           varchar2(1025);
DBGPLSQL:            18 TEXTNOD =    t2           varchar2(1);
DBGPLSQL:            19 TEXTNOD =    t3           varchar2(1);
DBGPLSQL:            20 TEXTNOD = begin
DBGPLSQL:            21 TEXTNOD =   
DBGPLSQL:            22 PRMVAL =  lsequence := null;
DBGPLSQL:            23 TEXTNOD =   
DBGPLSQL:            24 PRMVAL =  lcfaudate := null;
DBGPLSQL:            25 TEXTNOD =   
DBGPLSQL:            26 PRMVAL =  lbautfmt := null;
DBGPLSQL:            27 TEXTNOD =   
DBGPLSQL:            28 PRMVAL =  rsid := 15; rsts := 839775516;
DBGPLSQL:            29 TEXTNOD =    setBackupParams(FALSE);
DBGPLSQL:            30 TEXTNOD =    if (krmicd.getParams(1, p2, p3, p4, p5, t1, t2, t3)) then
DBGPLSQL:            31 TEXTNOD =       p1 := 1;
DBGPLSQL:            32 TEXTNOD =    end if;
DBGPLSQL:            33 TEXTNOD =    sys.dbms_backup_restore.setRmanStatusRowId(rsid=>rsid, rsts=>rsts)
;
DBGPLSQL:            34 TEXTNOD =    sys.dbms_backup_restore.DoAutobackup(ncopies => ncopies,
DBGPLSQL:            35 TEXTNOD =                                         cfaudate => lcfaudate,
DBGPLSQL:            36 TEXTNOD =                                         seq => lsequence,
DBGPLSQL:            37 TEXTNOD =                                         format => lbautfmt,
DBGPLSQL:            38 TEXTNOD =                                         p1 => p1,
DBGPLSQL:            39 TEXTNOD =                                         p2 => p2,
DBGPLSQL:            40 TEXTNOD =                                         p3 => p3,
DBGPLSQL:            41 TEXTNOD =                                         p4 => t1);
DBGPLSQL:            42 TEXTNOD =    copyno := 0;
DBGPLSQL:            43 TEXTNOD =    loop
DBGPLSQL:            44 TEXTNOD =        exit when copyno=ncopies;
DBGPLSQL:            45 TEXTNOD =        sys.dbms_backup_restore.backupPieceCrtDupGet(copyno,
DBGPLSQL:            46 TEXTNOD =                                                     handle,
DBGPLSQL:            47 TEXTNOD =                                                     comment,
DBGPLSQL:            48 TEXTNOD =                                                     media);
DBGPLSQL:            49 TEXTNOD =        if comment is null then comment := 'NONE'; end if;
DBGPLSQL:            50 TEXTNOD =        krmicd.writeMsg(8503, handle, comment);
DBGPLSQL:            51 TEXTNOD =        copyno := copyno + 1;
DBGPLSQL:            52 TEXTNOD =    end loop;
DBGPLSQL:            53 TEXTNOD =    sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:            54 TEXTNOD = end;
DBGMISC:    executing command Control File and SPFILE Autobackup [14:58:36.853]
DBGRPC:     krmxpoq: xc=233687544, action="0000006 FINISHED66", col_l=18, ind=0, sid=538
DBGRPC:     krmxr: xc=233687544 chid=default rpc count=6
DBGRPC:     krmxpoq: xc=233700544, action="0000019 FINISHED129", col_l=19, ind=0, sid=535
DBGRPC:     krmxr: xc=233700544 chid=ORA_DISK_1 rpc count=19
DBGRPC:     krmxpoq: xc=233702928, action="0000021 FINISHED129", col_l=19, ind=0, sid=534
DBGRPC:     krmxr: xc=233702928 chid=ORA_DISK_2 rpc count=21
DBGRPC:     krmxpoq: xc=233705312, action="0000021 FINISHED129", col_l=19, ind=0, sid=533
DBGRPC:     krmxr: xc=233705312 chid=ORA_DISK_3 rpc count=21
DBGRPC:     krmxpoq: xc=233707696, action="0000021 FINISHED129", col_l=19, ind=0, sid=532
DBGRPC:     krmxr: xc=233707696 chid=ORA_DISK_4 rpc count=21
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel default (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      CMD type=Control File and SPFILE Autobackup id=1 status=NOT STARTED
DBGRPC:            1 STEP id=1 status=NOT STARTED
DBGRPC:      krmqgns: no work found for channel default (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      CMD type=Control File and SPFILE Autobackup id=1 status=NOT STARTED
DBGRPC:            1 STEP id=1 status=NOT STARTED
DBGRPC:      krmqgns: channel ORA_DISK_1 assigned step 1 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 0
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      CMD type=Control File and SPFILE Autobackup id=1 status=STARTED
DBGRPC:            1 STEP id=1 status=STARTED
DBGRPC:      krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      CMD type=Control File and SPFILE Autobackup id=1 status=STARTED
DBGRPC:            1 STEP id=1 status=STARTED
DBGRPC:      krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      CMD type=Control File and SPFILE Autobackup id=1 status=STARTED
DBGRPC:            1 STEP id=1 status=STARTED
DBGRPC:      krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     krmxcic: xc=233700544 chid=ORA_DISK_1 calling peidcs
DBGRPC:     krmxcis: xc=233700544 chid=ORA_DISK_1 calling pcicmp
DBGRPC:     krmxr: xc=233700544 chid=ORA_DISK_1 calling peicnt
DBGMISC:    ENTERED krmzgparms [14:58:36.866]
DBGMISC:     Step id = 1; Code = 1 [14:58:36.866] (krmzgparms)
DBGMISC:    EXITED krmzgparms with status 0 (FALSE) [14:58:36.866] elapsed time [00:00:00:00.000]
DBGMISC:    ENTERED krmzgparms [14:58:36.866]
DBGMISC:     Step id = 1; Code = 1 [14:58:36.866] (krmzgparms)
DBGMISC:    EXITED krmzgparms with status 0 (FALSE) [14:58:36.866] elapsed time [00:00:00:00.000]
DBGRPC:     krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:     krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=20
DBGRPC:     krmxrpc: xc=233700544 RPC #20 completed immediately
DBGRPC:     krmxrpc: xc=233700544 kpurpc2 rc=3123 db=target proc=DBMS_BACKUP_RESTORE.DOAUTOBACKUP
DBGRPC:     krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count=21
DBGRPC:     krmxrpc: xc=233700544 starting longrunning RPC #21 to target: DBMS_BACKUP_RESTORE.DOAUTOBAC
KUP
DBGRPC:     krmxr: xc=233700544 started long running rpc
DBGRPC:     krmxpoq: xc=233700544, action="0000020 FINISHED129", col_l=19, ind=0, sid=535
DBGRPC:     krmxr: callback returned TRUE, skipping sleep
DBGRPC:     krmxpoq: xc=233700544, action="0000021 STARTED111", col_l=18, ind=0, sid=535
DBGRPC:     krmxr: sleeping for 1 seconds
DBGRPC:     krmxpoq: xc=233700544, action="0000021 STARTED111", col_l=18, ind=0, sid=535
DBGRPC:     krmxr: sleeping for 2 seconds
DBGRPC:     krmxpoq: xc=233700544, action="0000021 FINISHED111", col_l=19, ind=0, sid=535
DBGRPC:     krmxpod: xc=233700544 has finished remote rpc #21
DBGRPC:     krmxr: xc=233700544 chid=ORA_DISK_1 calling peicnt
DBGRPC:     krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DOAUTOBACKUP
DBGRPC:     krmxrpc: xc=233700544 finishing RPC #21 to target
DBGRPC:     krmxrpc: xc=233700544 kpurpc2 rc=3123 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECRTDUPG
ET
DBGRPC:     krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count=22
DBGRPC:     krmxrpc: xc=233700544 starting longrunning RPC #22 to target: DBMS_BACKUP_RESTORE.BACKUPPIE
CECRTDUPGET
DBGRPC:     krmxr: xc=233700544 started long running rpc
DBGRPC:     krmxpoq: xc=233700544, action="0000022 FINISHED18", col_l=18, ind=0, sid=535
DBGRPC:     krmxpod: xc=233700544 has finished remote rpc #22
DBGRPC:     krmxr: xc=233700544 chid=ORA_DISK_1 calling peicnt
DBGRPC:     krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPPIECECRTDUPGET
DBGRPC:     krmxrpc: xc=233700544 finishing RPC #22 to target
DBGMISC:    ENTERED krmzlog [14:58:39.873]
RMAN-08503: piece handle=/paic/data/oracle/oradata/dongkuifeng/rman_back/DONGKUIFENG/autobackup/2014_02
_17/o1_mf_s_839775379_9j3drxjt_.bkp comment=NONE

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:39.874]
DBGSQL:         sqlcode=0 [14:58:39.874]
DBGSQL:            :b1 = 0
DBGMISC:    EXITED krmzlog [14:58:39.875] elapsed time [00:00:00:00.002]
DBGRPC:     krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:     krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=23
DBGRPC:     krmxrpc: xc=233700544 RPC #23 completed immediately
DBGRPC:     krmxr: xc=233700544 finished step
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel default (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      CMD type=Control File and SPFILE Autobackup id=1 status=STARTED
DBGRPC:            1 STEP id=1 status=FINISHED
DBGRPC:      krmqgns: no work found for channel default (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: channel ORA_DISK_1 finished step 1 (krmqgns)
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel default (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel default (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGRPC:     ENTERED krmqgns
DBGRPC:      krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:      krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:      krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:     (krmqgns)
DBGRPC:     EXITED krmqgns with status 1
DBGMISC:    Finished Control File and SPFILE Autobackup at 17-FEB-14 [14:58:39.879]
RMAN-03091: Finished Control File and SPFILE Autobackup at 17-FEB-14

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:39.879]
DBGSQL:        sqlcode=0 [14:58:39.880]
DBGSQL:           :b1 = 0

DBGSQL:     EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :b1
,:b2  from v$instance  [14:58:39.880]
DBGSQL:        sqlcode=0 [14:58:39.881]
DBGSQL:           :b1 = 0
DBGSQL:           :b2 = 0

DBGSQL:     EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14:5
8:39.881]
DBGSQL:        sqlcode=0 [14:58:39.892]
DBGSQL:           :b1 = "10.2.0.5.0"

DBGSQL:     EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varchar2
 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt ,
'.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else dot
3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1 )
, 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( substr
( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end ;
[14:58:39.892]
DBGSQL:        sqlcode=0 [14:58:39.893]
DBGSQL:           :b1 = "10.2.0.5.0"
DBGSQL:           :b2 = 100200
DBGMISC:    krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:39.893]
DBGMISC:    trying implicit resync after executing command Control File and SPFILE Autobackup [14:58:39
.893]
DBGMISC:    ENTERED krmknrsn [14:58:39.893]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:39.893]
DBGSQL:         sqlcode=0 [14:58:39.894]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select controlfile_type ,controlfile_change# ,controlfile_sequence# ,co
ntrolfile_created ,decode(offr.records_used,0,0,((offr.last_recid-offr.records_used)+1)) into :b1,:b2,:
b3,:b4,:b5  from v$database ,v$controlfile_record_section offr where offr.type='OFFLINE RANGE' [14:58:3
9.894]
DBGSQL:         sqlcode=0 [14:58:39.895]
DBGSQL:            :b1 = "CURRENT"
DBGSQL:            :b2 = 26166386
DBGSQL:            :b3 = 19881
DBGSQL:            :b4 = "14-SEP-12"
DBGSQL:            :b5 = 0

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:39.895]
DBGSQL:         sqlcode=0 [14:58:39.896]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select nvl(max(al.recid),0) into :b1  from v$archived_log al where ((al
.status in ('X','A') and al.is_recovery_dest_file='YES') and al.creator='RMAN') [14:58:39.896]
DBGSQL:         sqlcode=0 [14:58:39.897]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET _section tf ,v$controlfile_record_section ts ,v$controlfile_record_sect
ion rl ,v$controlfile_record_section rm ,v$controlfile_record_section dc ,v$controlfile_record_section
al ,v$controlfile_record_section bp ,v$controlfile_record_section do ,v$controlfile_record_section offr
 ,v$controlfile_record_section pc ,v$controlfile_record_section bs ,v$controlfile_record_section ic ,v$
controlfile_record_section grsp ,v$database_incarnation dbinc ,v$database_incarnation ldbinc where ((((
(((((((((((df.type='DATAFILE' and tf.type='TEMPORARY FILENAME') and ts.type='TABLESPACE') and rl.type='
REDO LOG') and rm.type='RMAN CONFIGURATION') and dc.type='DATAFILE COPY') and al.type='ARCHIVED LOG') a
nd bp.type='BACKUP PIECE') and do.type='DELETED OBJECT') and offr.type='OFFLINE RANGE') and pc.type='PR
OXY COPY') and bs.type='BACKUP SET') and ic.type='DATABASE INCARNATION') and grsp.type='GUARANTEED REST
ORE POINT') and dbinc.incarnation#=db.recovery_target_incarnation#) and ldbinc.incarnation#=db.last_ope
n_incarnation#) [14:58:39.898]
DBGSQL:         sqlcode=0 [14:58:39.904]
DBGSQL:            :b1 = "14-SEP-12"
DBGSQL:            :b2 = 26166386
DBGSQL:            :b3 = 19881
DBGSQL:            :b4 = "18-OCT-13"
DBGSQL:            :b5 = 4929
DBGSQL:            :b6 = 1
DBGSQL:            :b7 = 28
DBGSQL:            :b8 = 15
DBGSQL:            :b9 = 3
DBGSQL:            :b10 = 0
DBGSQL:            :b11 = 58
DBGSQL:            :b12 = 5
DBGSQL:            :b13 = 0
DBGSQL:            :b14 = 0
DBGSQL:            :b15 = 0
DBGSQL:            :b16 = 5
DBGSQL:            :b17 = 21559129
DBGSQL:            :b18 = "18-OCT-13"
DBGSQL:            :b19 = 2
DBGSQL:            :b20 = 0
DBGSQL:            :b21 = 0
DBGSQL:            :b22 = 1
DBGSQL:            :b23 = 1
DBGSQL:            :b24 = 1
DBGSQL:            :b25 = 0
DBGSQL:            :b26 = 0
DBGSQL:            :b27 = 0
DBGMISC:     resync=3, newbck=0, needref=0 [14:58:39.905] (krmknrsn)
DBGMISC:    EXITED krmknrsn [14:58:39.905] elapsed time [00:00:00:00.011]
DBGMISC:    ENTERED krmkmrsr [14:58:39.905]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:39.905]
DBGSQL:         sqlcode=0 [14:58:39.906]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select  /*+  rule  +*/ nvl(round(sum(MBYTES_PROCESSED)),0) ,nvl(round(s
um(INPUT_BYTES)),0) ,nvl(round(sum(OUTPUT_BYTES)),0)  from V$RMAN_STATUS  start with (RECID=:b1 and STA
MP=:b2)  connect by prior RECID=parent_recid             [14:58:39.906]
DBGSQL:         sqlcode=0 [14:58:39.944]
DBGSQL:            :b1 = 15
DBGSQL:            :b2 = 839775516

DBGSQL:      EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:39.944]
DBGSQL:         sqlcode=0 [14:58:39.945]
DBGSQL:            :b1 = 15
DBGSQL:            :b2 = 15499264
DBGSQL:            :b3 = 15581184

DBGSQL:      EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:39.946]
DBGSQL:         sqlcode=0 [14:58:39.946]
DBGSQL:      ENTERED krmkgodevtype [14:58:39.946]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:39.946]
DBGSQL:          sqlcode=0 [14:58:39.947]
DBGSQL:             :b1 = 0
DBGMISC:      krmkgodevtype: return device type DISK [14:58:39.952]

DBGSQL:       EXEC SQL AT TARGET begin sys . dbms_backup_restore . commitRmanStatusRow ( row_id => :row
_id , row_stamp => :row_stamp , mbytes => :mb , status => :status , ibytes => :ib , obytes => :ob , ode
vtype => :odevtype ) ; end ; [14:58:39.952]
DBGSQL:          sqlcode=0 [14:58:40.028]
DBGSQL:             :b1 = 15
DBGSQL:             :b2 = 839775516
DBGSQL:             :b3 = 15
DBGSQL:             :b4 = 2
DBGSQL:             :b5 = 15499264
DBGSQL:             :b6 = 15581184
DBGSQL:             :b7 = "DISK"
DBGMISC:     EXITED krmkmrsr [14:58:40.029] elapsed time [00:00:00:00.123]
DBGMISC:    EXITED krmice [14:58:40.029] elapsed time [00:00:00:03.311]
DBGMISC:    trying aging rule refresh after executing command backup [14:58:40.029]
DBGMISC:    performing aging rule refresh after executing command backup [14:58:40.029]
DBGMISC:    ENTERED krmice [14:58:40.029]
DBGMISC:     command to be compiled and executed is: REFAF  [14:58:40.030] (krmice)
DBGMISC:     command after this command is: NONE  [14:58:40.030] (krmice)
DBGMISC:     current incarnation does not matter for REFAF [14:58:40.030] (krmice)
DBGMISC:     ENTERED krmkomp [14:58:40.030]
DBGMISC:      Name translation defaults to catalog - 2 [14:58:40.030] (krmkomp)
DBGMISC:      ENTERED krmknmtr [14:58:40.030]
DBGMISC:      EXITED krmknmtr with status REFAF [14:58:40.030] elapsed time [00:00:00:00.000]

DBGSQL:       EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :
b1,:b2  from v$instance  [14:58:40.030]
DBGSQL:          sqlcode=0 [14:58:40.031]
DBGSQL:             :b1 = 0
DBGSQL:             :b2 = 0

DBGSQL:       EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14
:58:40.031]
DBGSQL:          sqlcode=0 [14:58:40.042]
DBGSQL:             :b1 = "10.2.0.5.0"

DBGSQL:       EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varcha
r2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt
, '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else d
ot3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1
) , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( subst
r ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end
; [14:58:40.042]
DBGSQL:          sqlcode=0 [14:58:40.043]
DBGSQL:             :b1 = "10.2.0.5.0"
DBGSQL:             :b2 = 100200
DBGMISC:      krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:40.043]
DBGMISC:      krmkdps: this_reset_scn=21559129 [14:58:40.044]
DBGMISC:      krmkdps: this_reset_time=18-OCT-13 [14:58:40.044]
DBGMISC:      krmkdps: untilSCN= [14:58:40.044]
DBGMISC:      krmkdps: untilTime= [14:58:40.045]
DBGMISC:      krmkdps: getRA_completedAfter= [14:58:40.045]
DBGMISC:      krmkdps: getRA_completedBefore= [14:58:40.045]
DBGMISC:      krmkdps: getRA_likePattern= [14:58:40.045]
DBGMISC:      krmkdps: getRA_containerMask=15 [14:58:40.045]
DBGMISC:      krmkdps: getRA_actionMask=63 [14:58:40.046]
DBGMISC:      krmkdps: computeRA_allRecords0 [14:58:40.046]
DBGMISC:      krmkdps: computeRA_fullBackups=1 [14:58:40.046]
DBGMISC:      krmkdps: allIncarnations=0 [14:58:40.046]
DBGMISC:     EXITED krmkomp [14:58:40.047] elapsed time [00:00:00:00.016]
DBGPLSQL:    the compiled command tree is: [14:58:40.047] (krmicomp)
DBGPLSQL:      1 CMD type=REFAF id=1 status=NOT STARTED
DBGPLSQL:          1 STEP id=1 status=NOT STARTED chid=default
DBGPLSQL:              1 TEXTNOD = -- refresh_agf
DBGPLSQL:              2 TEXTNOD = begin
DBGPLSQL:              3 TEXTNOD =    refreshAgedFiles;
DBGPLSQL:              4 TEXTNOD = end;
DBGMISC:     executing command REFAF [14:58:40.048]
DBGRPC:      krmxpoq: xc=233687544, action="0000006 FINISHED66", col_l=18, ind=0, sid=538
DBGRPC:      krmxr: xc=233687544 chid=default rpc count=6
DBGRPC:      krmxpoq: xc=233700544, action="0000023 FINISHED129", col_l=19, ind=0, sid=535
DBGRPC:      krmxr: xc=233700544 chid=ORA_DISK_1 rpc count=23
DBGRPC:      krmxpoq: xc=233702928, action="0000021 FINISHED129", col_l=19, ind=0, sid=534
DBGRPC:      krmxr: xc=233702928 chid=ORA_DISK_2 rpc count=21
DBGRPC:      krmxpoq: xc=233705312, action="0000021 FINISHED129", col_l=19, ind=0, sid=533
DBGRPC:      krmxr: xc=233705312 chid=ORA_DISK_3 rpc count=21
DBGRPC:      krmxpoq: xc=233707696, action="0000021 FINISHED129", col_l=19, ind=0, sid=532
DBGRPC:      krmxr: xc=233707696 chid=ORA_DISK_4 rpc count=21
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=REFAF id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED chid=default
DBGRPC:       krmqgns: channel default assigned step 1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=REFAF id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=STARTED chid=default
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=REFAF id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=STARTED chid=default
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=REFAF id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=STARTED chid=default
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=REFAF id=1 status=STARTED
DBGRPC:             1 STEP id=1 status=STARTED chid=default
DBGRPC:       krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      krmxcis: xc=233687544 chid=default calling pcicmp
DBGRPC:      krmxr: xc=233687544 chid=default calling peicnt
DBGPLSQL:    channel default: Starting refreshAgedFiles at 17-FEB-14 [14:58:40.057] (refreshAgedFiles)

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:40.057]
DBGSQL:         sqlcode=0 [14:58:40.057]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET declare alldest number ; policy varchar2 ( 512 ) ; begin dbms_rcvman .
getRedoLogDeletionPolicy ( policy ) ; select nvl ( count ( * ) , 0 ) into alldest from x$ksppi a , x$ks
ppcv2 b where a . indx + 1 = kspftctxpn and ksppinm = '_log_deletion_policy' and upper ( kspftctxvl ) =
 'ALL' ; if ( alldest != 0 ) then alldest := dbms_rcvman . TRUE# ; else alldest := dbms_rcvman . FALSE#
 ; end if ; :rc := dbms_rcvman . validateStandbyConfig ( policy => policy , alldest => alldest ) ; end
; [14:58:40.058]
DBGSQL:         sqlcode=0 [14:58:40.071]
DBGSQL:            :b1 = 1
   DBGRCVMAN:  ENTERING getRedoLogDeletionPolicy
   DBGRCVMAN:  EXITING getRedoLogDeletionPolicy with policy = TO NONE
   DBGRCVMAN:  ENTERING validateStandbyConfig1
   DBGRCVMAN: policy  = TO NONE
   DBGRCVMAN: alldest = 0
   DBGRCVMAN:  EXITING validateStandbyConfig1 with target   = NULLwith status   = 1
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=3123 db=target proc=DBMS_BACKUP_RESTORE.REFRESHAGEDFILES
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count=7
DBGRPC:      krmxrpc: xc=233687544 starting longrunning RPC #7 to target: DBMS_BACKUP_RESTORE.REFRESHAG
EDFILES
DBGRPC:      krmxr: xc=233687544 started long running rpc
DBGRPC:      krmxpoq: xc=233687544, action="0000007 STARTED114", col_l=18, ind=0, sid=538
DBGRPC:      krmxr: callback returned TRUE, skipping sleep
DBGRPC:      krmxpoq: xc=233687544, action="0000007 STARTED114", col_l=18, ind=0, sid=538
DBGRPC:      krmxr: sleeping for 1 seconds
DBGRPC:      krmxpoq: xc=233687544, action="0000007 FINISHED114", col_l=19, ind=0, sid=538
DBGRPC:      krmxpod: xc=233687544 has finished remote rpc #7
DBGRPC:      krmxr: xc=233687544 chid=default calling peicnt
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.REFRESHAGEDFILES
DBGRPC:      krmxrpc: xc=233687544 finishing RPC #7 to target
DBGPLSQL:    channel default: Finished refreshAgedFiles at 17-FEB-14 [14:58:41.076] (refreshAgedFiles)
DBGRPC:      krmxr: xc=233687544 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: channel default finished step 1 (krmqgns)
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGMISC:     Finished REFAF at 17-FEB-14 [14:58:41.079]
DBGMISC:    EXITED krmice [14:58:41.079] elapsed time [00:00:00:01.049]
DBGMISC:    ENTERED krmkmrsr [14:58:41.079]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:41.080]
DBGSQL:         sqlcode=0 [14:58:41.080]
DBGSQL:            :b1 = 0

DBGSQL:      EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :b
1,:b2  from v$instance  [14:58:41.081]
DBGSQL:         sqlcode=0 [14:58:41.081]
DBGSQL:            :b1 = 0
DBGSQL:            :b2 = 0

DBGSQL:      EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14:
58:41.082]
DBGSQL:         sqlcode=0 [14:58:41.092]
DBGSQL:            :b1 = "10.2.0.5.0"

DBGSQL:      EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varchar
2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt ,
 '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else do
t3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1 )
 , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( substr
 ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end ;
 [14:58:41.093]
DBGSQL:         sqlcode=0 [14:58:41.093]
DBGSQL:            :b1 = "10.2.0.5.0"
DBGSQL:            :b2 = 100200
DBGMISC:     krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:41.093]

DBGSQL:      EXEC SQL AT TARGET select  /*+  rule  +*/ nvl(round(sum(MBYTES_PROCESSED)),0) ,nvl(round(s
um(INPUT_BYTES)),0) ,nvl(round(sum(OUTPUT_BYTES)),0)  from V$RMAN_STATUS  start with (RECID=:b1 and STA
MP=:b2)  connect by prior RECID=parent_recid             [14:58:41.094]
DBGSQL:         sqlcode=0 [14:58:41.094]
DBGSQL:            :b1 = 14
DBGSQL:            :b2 = 839775497

DBGSQL:      EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:41.094]
DBGSQL:         sqlcode=0 [14:58:41.096]
DBGSQL:            :b1 = 1069
DBGSQL:            :b2 = 1120657408
DBGSQL:            :b3 = 180805632

DBGSQL:      EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:58:41.097]
DBGSQL:         sqlcode=0 [14:58:41.097]
DBGSQL:      ENTERED krmkgodevtype [14:58:41.097]

DBGSQL:       EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) in
to :b1  from v$database  [14:58:41.097]
DBGSQL:          sqlcode=0 [14:58:41.097]
DBGSQL:             :b1 = 0
DBGMISC:      krmkgodevtype: return device type DISK [14:58:41.099]

DBGSQL:       EXEC SQL AT TARGET begin sys . dbms_backup_restore . commitRmanStatusRow ( row_id => :row
_id , row_stamp => :row_stamp , mbytes => :mb , status => :status , ibytes => :ib , obytes => :ob , ode
vtype => :odevtype ) ; end ; [14:58:41.099]
DBGSQL:          sqlcode=0 [14:58:41.171]
DBGSQL:             :b1 = 14
DBGSQL:             :b2 = 839775497
DBGSQL:             :b3 = 1069
DBGSQL:             :b4 = 2
DBGSQL:             :b5 = 1120657408
DBGSQL:             :b6 = 180805632
DBGSQL:             :b7 = "DISK"
DBGMISC:     EXITED krmkmrsr [14:58:41.172] elapsed time [00:00:00:00.092]

DBGSQL:      EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) int
o :b1  from v$database  [14:58:41.172]
DBGSQL:         sqlcode=0 [14:58:41.173]
DBGSQL:            :b1 = 0
DBGSQL:      ENTERED krmkusl [14:58:41.173]
DBGSQL:      EXITED krmkusl with status 0 [14:58:41.174] elapsed time [00:00:00:00.000]
DBGSQL:      ENTERED krmkusl [14:58:41.174]
DBGSQL:      EXITED krmkusl with status 0 [14:58:41.174] elapsed time [00:00:00:00.000]
DBGMISC:    EXITED krmice [14:58:41.174] elapsed time [00:00:00:23.797]
DBGMISC:    ENTERED krmice [14:58:41.174]
DBGMISC:     command to be compiled and executed is: cleanup  [14:58:41.175] (krmice)
DBGMISC:     command after this command is: NONE  [14:58:41.175] (krmice)
DBGMISC:     current incarnation does not matter for cleanup [14:58:41.175] (krmice)
DBGMISC:     ENTERED krmkomp [14:58:41.175]
DBGMISC:      Name translation defaults to catalog - 2 [14:58:41.175] (krmkomp)
DBGMISC:      ENTERED krmknmtr [14:58:41.175]
DBGMISC:      EXITED krmknmtr with status cleanup [14:58:41.175] elapsed time [00:00:00:00.000]

DBGSQL:       EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :
b1,:b2  from v$instance  [14:58:41.175]
DBGSQL:          sqlcode=0 [14:58:41.176]
DBGSQL:             :b1 = 0
DBGSQL:             :b2 = 0

DBGSQL:       EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14
:58:41.176]
DBGSQL:          sqlcode=0 [14:58:41.186]
DBGSQL:             :b1 = "10.2.0.5.0"

DBGSQL:       EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varcha
r2 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt
, '.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else d
ot3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1
) , 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( subst
r ( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end
; [14:58:41.187]
DBGSQL:          sqlcode=0 [14:58:41.187]
DBGSQL:             :b1 = "10.2.0.5.0"
DBGSQL:             :b2 = 100200
DBGMISC:      krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:41.188]
DBGMISC:      krmkdps: this_reset_scn=21559129 [14:58:41.188]
DBGMISC:      krmkdps: this_reset_time=18-OCT-13 [14:58:41.188]
DBGMISC:      krmkdps: untilSCN= [14:58:41.188]
DBGMISC:      krmkdps: untilTime= [14:58:41.189]
DBGMISC:      krmkdps: getRA_completedAfter= [14:58:41.189]
DBGMISC:      krmkdps: getRA_completedBefore= [14:58:41.189]
DBGMISC:      krmkdps: getRA_likePattern= [14:58:41.189]
DBGMISC:      krmkdps: getRA_containerMask=15 [14:58:41.190]
DBGMISC:      krmkdps: getRA_actionMask=63 [14:58:41.190]
DBGMISC:      krmkdps: computeRA_allRecords0 [14:58:41.190]
DBGMISC:      krmkdps: computeRA_fullBackups=1 [14:58:41.190]
DBGMISC:      krmkdps: allIncarnations=0 [14:58:41.191]
DBGMISC:     EXITED krmkomp [14:58:41.191] elapsed time [00:00:00:00.016]
DBGPLSQL:    the compiled command tree is: [14:58:41.191] (krmicomp)
DBGPLSQL:      1 CMD type=cleanup id=1 status=NOT STARTED
DBGPLSQL:          1 STEP id=1 status=NOT STARTED
DBGPLSQL:              1 TEXTNOD = -- clean
DBGPLSQL:              2 TEXTNOD = declare
DBGPLSQL:              3 TEXTNOD =   /* device status variables */
DBGPLSQL:              4 TEXTNOD =   state       binary_integer;
DBGPLSQL:              5 TEXTNOD =   devtype     varchar2(512);
DBGPLSQL:              6 TEXTNOD =   name        varchar2(512);
DBGPLSQL:              7 TEXTNOD =   bufsz       binary_integer;
DBGPLSQL:              8 TEXTNOD =   bufcnt      binary_integer;
DBGPLSQL:              9 TEXTNOD =   kbytes      number;
DBGPLSQL:             10 TEXTNOD =   readrate    binary_integer;
DBGPLSQL:             11 TEXTNOD =   parallel    binary_integer;
DBGPLSQL:             12 TEXTNOD =   thread      number;
DBGPLSQL:             13 TEXTNOD =   kcrmx_recs  number;
DBGPLSQL:             14 TEXTNOD =   autochn     number := 0;
DBGPLSQL:             15 TEXTNOD =   mr_not_started exception;
DBGPLSQL:             16 TEXTNOD =   pragma exception_init(mr_not_started, -1112);
DBGPLSQL:             17 TEXTNOD =   db_not_mounted exception;
DBGPLSQL:             18 TEXTNOD =   pragma exception_init(db_not_mounted, -1507);
DBGPLSQL:             19 TEXTNOD = begin
DBGPLSQL:             20 TEXTNOD =  
DBGPLSQL:             21 PRMVAL =  autochn := 1;
DBGPLSQL:             22 TEXTNOD =   begin
DBGPLSQL:             23 TEXTNOD =     krmicd.execSql('select count(*) from x$dual');
DBGPLSQL:             24 TEXTNOD =   exception
DBGPLSQL:             25 TEXTNOD =     when others then
DBGPLSQL:             26 TEXTNOD =       krmicd.clearErrors;
DBGPLSQL:             27 TEXTNOD =   end;
DBGPLSQL:             28 TEXTNOD =   sys.dbms_backup_restore.backupCancel;
DBGPLSQL:             29 TEXTNOD =   sys.dbms_backup_restore.restoreCancel(FALSE);
DBGPLSQL:             30 TEXTNOD =   begin
DBGPLSQL:             31 TEXTNOD =     sys.dbms_backup_restore.proxyCancel;
DBGPLSQL:             32 TEXTNOD =   exception
DBGPLSQL:             33 TEXTNOD =      when others then
DBGPLSQL:             34 TEXTNOD =         krmicd.clearErrors;
DBGPLSQL:             35 TEXTNOD =   end;
DBGPLSQL:             36 TEXTNOD =   sys.dbms_backup_restore.cfileUseCurrent;              -- release e
nqueue
DBGPLSQL:             37 TEXTNOD =   sys.dbms_backup_restore.deviceStatus(state, devtype, name, bufsz,
bufcnt,
DBGPLSQL:             38 TEXTNOD =                                          kbytes, readrate, parallel)
;
DBGPLSQL:             39 TEXTNOD =   begin
DBGPLSQL:             40 TEXTNOD =      sys.dbms_backup_restore.bmrCancel;
DBGPLSQL:             41 TEXTNOD =   exception
DBGPLSQL:             42 TEXTNOD =      when others then
DBGPLSQL:             43 TEXTNOD =         krmicd.clearErrors;
DBGPLSQL:             44 TEXTNOD =   end;
DBGPLSQL:             45 TEXTNOD =   begin
DBGPLSQL:             46 TEXTNOD =      sys.dbms_backup_restore.flashbackCancel;
DBGPLSQL:             47 TEXTNOD =   exception
DBGPLSQL:             48 TEXTNOD =      when others then
DBGPLSQL:             49 TEXTNOD =         krmicd.clearErrors;
DBGPLSQL:             50 TEXTNOD =   end;
DBGPLSQL:             51 TEXTNOD =   begin
DBGPLSQL:             52 TEXTNOD =     if krmicd.mrCheck > 0 then
DBGPLSQL:             53 TEXTNOD =       krmicd.execSql('alter database recover cancel');
DBGPLSQL:             54 TEXTNOD =     end if;
DBGPLSQL:             55 TEXTNOD =   exception
DBGPLSQL:             56 TEXTNOD =     when others then
DBGPLSQL:             57 TEXTNOD =       krmicd.clearErrors;
DBGPLSQL:             58 TEXTNOD =   end;
DBGPLSQL:             59 TEXTNOD =   -- If autchn is set to 0, then it the channel is user allocated, h
ence can be
DBGPLSQL:             60 TEXTNOD =   -- deallocated. However, we will call dbms_backup_restore.deviceDe
allocate
DBGPLSQL:             61 TEXTNOD =   -- only if server says that the device is actually allocated. On t
he
DBGPLSQL:             62 TEXTNOD =   -- other hand, we will call krmicd.clearChannelInfo even if server
 
DBGPLSQL:             63 TEXTNOD =   -- thinks that device is not allocated because it can be that
DBGPLSQL:             64 TEXTNOD =   -- deviceAllocate have failed.
DBGPLSQL:             65 TEXTNOD =   if (autochn = 0) then
DBGPLSQL:             66 TEXTNOD =     if (state > sys.dbms_backup_restore.NO_DEVICE) then
DBGPLSQL:             67 TEXTNOD =        sys.dbms_backup_restore.deviceDeallocate;       
DBGPLSQL:             68 TEXTNOD =        krmicd.writeMsg(8031, krmicd.getChid);
DBGPLSQL:             69 TEXTNOD =        -- Clear the client_info field on channels which have no devi
ce
DBGPLSQL:             70 TEXTNOD =        -- allocated. This has the effect of leaving the client_info
field
DBGPLSQL:             71 TEXTNOD =        -- present on the default channel.
DBGPLSQL:             72 TEXTNOD =        sys.dbms_backup_restore.set_client_info('');
DBGPLSQL:             73 TEXTNOD =     end if;
DBGPLSQL:             74 TEXTNOD =     krmicd.clearChannelInfo;                    -- tell krmq no devi
ce here now
DBGPLSQL:             75 TEXTNOD =   end if;
DBGPLSQL:             76 TEXTNOD =   sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGPLSQL:             77 TEXTNOD = end;
DBGMISC:     executing command cleanup [14:58:41.199]
DBGRPC:      krmxpoq: xc=233687544, action="0000007 FINISHED114", col_l=19, ind=0, sid=538
DBGRPC:      krmxr: xc=233687544 chid=default rpc count=7
DBGRPC:      krmxpoq: xc=233700544, action="0000023 FINISHED129", col_l=19, ind=0, sid=535
DBGRPC:      krmxr: xc=233700544 chid=ORA_DISK_1 rpc count=23
DBGRPC:      krmxpoq: xc=233702928, action="0000021 FINISHED129", col_l=19, ind=0, sid=534
DBGRPC:      krmxr: xc=233702928 chid=ORA_DISK_2 rpc count=21
DBGRPC:      krmxpoq: xc=233705312, action="0000021 FINISHED129", col_l=19, ind=0, sid=533
DBGRPC:      krmxr: xc=233705312 chid=ORA_DISK_3 rpc count=21
DBGRPC:      krmxpoq: xc=233707696, action="0000021 FINISHED129", col_l=19, ind=0, sid=532
DBGRPC:      krmxr: xc=233707696 chid=ORA_DISK_4 rpc count=21
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: channel default running cleanup (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: channel ORA_DISK_1 running cleanup (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: channel ORA_DISK_2 running cleanup (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: channel ORA_DISK_3 running cleanup (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: channel ORA_DISK_4 running cleanup (krmqgns)
DBGRPC:      EXITED krmqgns with status 0
DBGRPC:      krmxcic: xc=233687544 chid=default calling peidcs
DBGRPC:      krmxcis: xc=233687544 chid=default calling pcicmp
DBGRPC:      krmxcic: xc=233700544 chid=ORA_DISK_1 calling peidcs
DBGRPC:      krmxcis: xc=233700544 chid=ORA_DISK_1 calling pcicmp
DBGRPC:      krmxcic: xc=233702928 chid=ORA_DISK_2 calling peidcs
DBGRPC:      krmxcis: xc=233702928 chid=ORA_DISK_2 calling pcicmp
DBGRPC:      krmxcic: xc=233705312 chid=ORA_DISK_3 calling peidcs
DBGRPC:      krmxcis: xc=233705312 chid=ORA_DISK_3 calling pcicmp
DBGRPC:      krmxcic: xc=233707696 chid=ORA_DISK_4 calling peidcs
DBGRPC:      krmxcis: xc=233707696 chid=ORA_DISK_4 calling pcicmp
DBGRPC:      krmxr: xc=233687544 chid=default calling peicnt
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPCANCEL
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count(non-blocking)=8
DBGRPC:      krmxrpc: xc=233687544 RPC #8 completed immediately
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.RESTORECANCEL
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count(non-blocking)=9
DBGRPC:      krmxrpc: xc=233687544 RPC #9 completed immediately
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.PROXYCANCEL
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count(non-blocking)=10
DBGRPC:      krmxrpc: xc=233687544 RPC #10 completed immediately
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.CFILEUSECURRENT
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count(non-blocking)=11
DBGRPC:      krmxrpc: xc=233687544 RPC #11 completed immediately
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICESTATUS
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count(non-blocking)=12
DBGRPC:      krmxrpc: xc=233687544 RPC #12 completed immediately
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BMRCANCEL
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count(non-blocking)=13
DBGRPC:      krmxrpc: xc=233687544 RPC #13 completed immediately
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.FLASHBACKCANCEL
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count(non-blocking)=14
DBGRPC:      krmxrpc: xc=233687544 RPC #14 completed immediately
DBGRPC:      krmxrpc: xc=233687544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:      krmxrpc: xc=233687544 chid=default rpc count(non-blocking)=15
DBGRPC:      krmxrpc: xc=233687544 RPC #15 completed immediately
DBGRPC:      krmxr: xc=233687544 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      krmxr: xc=233700544 chid=ORA_DISK_1 calling peicnt
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPCANCEL
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=24
DBGRPC:      krmxrpc: xc=233700544 RPC #24 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.RESTORECANCEL
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=25
DBGRPC:      krmxrpc: xc=233700544 RPC #25 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.PROXYCANCEL
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=26
DBGRPC:      krmxrpc: xc=233700544 RPC #26 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.CFILEUSECURRENT
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=27
DBGRPC:      krmxrpc: xc=233700544 RPC #27 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICESTATUS
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=28
DBGRPC:      krmxrpc: xc=233700544 RPC #28 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BMRCANCEL
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=29
DBGRPC:      krmxrpc: xc=233700544 RPC #29 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.FLASHBACKCANCEL
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=30
DBGRPC:      krmxrpc: xc=233700544 RPC #30 completed immediately
DBGRPC:      krmxrpc: xc=233700544 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:      krmxrpc: xc=233700544 chid=ORA_DISK_1 rpc count(non-blocking)=31
DBGRPC:      krmxrpc: xc=233700544 RPC #31 completed immediately
DBGRPC:      krmxr: xc=233700544 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      krmxr: xc=233702928 chid=ORA_DISK_2 calling peicnt
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPCANCEL
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=22
DBGRPC:      krmxrpc: xc=233702928 RPC #22 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.RESTORECANCEL
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=23
DBGRPC:      krmxrpc: xc=233702928 RPC #23 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.PROXYCANCEL
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=24
DBGRPC:      krmxrpc: xc=233702928 RPC #24 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.CFILEUSECURRENT
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=25
DBGRPC:      krmxrpc: xc=233702928 RPC #25 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICESTATUS
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=26
DBGRPC:      krmxrpc: xc=233702928 RPC #26 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BMRCANCEL
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=27
DBGRPC:      krmxrpc: xc=233702928 RPC #27 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.FLASHBACKCANCEL
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=28
DBGRPC:      krmxrpc: xc=233702928 RPC #28 completed immediately
DBGRPC:      krmxrpc: xc=233702928 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:      krmxrpc: xc=233702928 chid=ORA_DISK_2 rpc count(non-blocking)=29
DBGRPC:      krmxrpc: xc=233702928 RPC #29 completed immediately
DBGRPC:      krmxr: xc=233702928 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      krmxr: xc=233705312 chid=ORA_DISK_3 calling peicnt
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPCANCEL
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=22
DBGRPC:      krmxrpc: xc=233705312 RPC #22 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.RESTORECANCEL
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=23
DBGRPC:      krmxrpc: xc=233705312 RPC #23 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.PROXYCANCEL
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=24
DBGRPC:      krmxrpc: xc=233705312 RPC #24 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.CFILEUSECURRENT
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=25
DBGRPC:      krmxrpc: xc=233705312 RPC #25 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICESTATUS
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=26
DBGRPC:      krmxrpc: xc=233705312 RPC #26 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BMRCANCEL
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=27
DBGRPC:      krmxrpc: xc=233705312 RPC #27 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.FLASHBACKCANCEL
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=28
DBGRPC:      krmxrpc: xc=233705312 RPC #28 completed immediately
DBGRPC:      krmxrpc: xc=233705312 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:      krmxrpc: xc=233705312 chid=ORA_DISK_3 rpc count(non-blocking)=29
DBGRPC:      krmxrpc: xc=233705312 RPC #29 completed immediately
DBGRPC:      krmxr: xc=233705312 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      krmxr: xc=233707696 chid=ORA_DISK_4 calling peicnt
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BACKUPCANCEL
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=22
DBGRPC:      krmxrpc: xc=233707696 RPC #22 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.RESTORECANCEL
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=23
DBGRPC:      krmxrpc: xc=233707696 RPC #23 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.PROXYCANCEL
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=24
DBGRPC:      krmxrpc: xc=233707696 RPC #24 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.CFILEUSECURRENT
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=25
DBGRPC:      krmxrpc: xc=233707696 RPC #25 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.DEVICESTATUS
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=26
DBGRPC:      krmxrpc: xc=233707696 RPC #26 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.BMRCANCEL
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=27
DBGRPC:      krmxrpc: xc=233707696 RPC #27 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.FLASHBACKCANCEL
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=28
DBGRPC:      krmxrpc: xc=233707696 RPC #28 completed immediately
DBGRPC:      krmxrpc: xc=233707696 kpurpc2 rc=0 db=target proc=DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID
DBGRPC:      krmxrpc: xc=233707696 chid=ORA_DISK_4 rpc count(non-blocking)=29
DBGRPC:      krmxrpc: xc=233707696 RPC #29 completed immediately
DBGRPC:      krmxr: xc=233707696 finished step
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel default (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel default (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_1 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_1 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_2 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_2 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_3 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_3 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGRPC:      ENTERED krmqgns
DBGRPC:       krmqgns: looking for work for channel ORA_DISK_4 (krmqgns)
DBGRPC:       krmqgns: commands remaining to be executed: (krmqgns)
DBGRPC:       CMD type=cleanup id=1 status=NOT STARTED
DBGRPC:             1 STEP id=1 status=NOT STARTED
DBGRPC:       krmqgns: no work found for channel ORA_DISK_4 (krmqgns)
DBGRPC:      (krmqgns)
DBGRPC:      EXITED krmqgns with status 1
DBGMISC:     Finished cleanup at 17-FEB-14 [14:58:41.275]
DBGMISC:    EXITED krmice [14:58:41.275] elapsed time [00:00:00:00.100]


DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:58:41.275]
DBGSQL:        sqlcode=0 [14:58:41.276]
DBGSQL:           :b1 = 0

DBGSQL:     EXEC SQL AT TARGET select decode(status,'OPEN',1,0) ,decode(archiver,'FAILED',1,0) into :b1
,:b2  from v$instance  [14:58:41.276]
DBGSQL:        sqlcode=0 [14:58:41.276]
DBGSQL:           :b1 = 0
DBGSQL:           :b2 = 0

DBGSQL:     EXEC SQL AT TARGET select value into :b1:b2  from v$parameter where name='compatible' [14:5
8:41.277]
DBGSQL:        sqlcode=0 [14:58:41.287]
DBGSQL:           :b1 = "10.2.0.5.0"

DBGSQL:     EXEC SQL AT TARGET declare dot1st number ; dot2nd number ; dot3rd number ; comptxt varchar2
 ( 255 ) := :vcomp_txt ; begin dot1st := instr ( comptxt , '.' , 1 , 1 ) ; dot2nd := instr ( comptxt ,
'.' , 1 , 2 ) ; if instr ( comptxt , '.' , 1 , 3 ) = 0 then dot3rd := length ( comptxt ) + 1 ; else dot
3rd := instr ( comptxt , '.' , 1 , 3 ) ; end if ; comptxt := lpad ( substr ( comptxt , 1 , dot1st -1 )
, 2 , '0' ) || lpad ( substr ( comptxt , dot1st + 1 , dot2nd -dot1st -1 ) , 2 , '0' ) || lpad ( substr
( comptxt , dot2nd + 1 , dot3rd -dot2nd -1 ) , 2 , '0' ) ; :vcomp_ub4 := to_number ( comptxt ) ; end ;
[14:58:41.287]
DBGSQL:        sqlcode=0 [14:58:41.288]
DBGSQL:           :b1 = "10.2.0.5.0"
DBGSQL:           :b2 = 100200
DBGMISC:    krmkpdbs(): vcomp_txt:10.2.0.5.0 vcomp_ub4:100200 flags:0 [14:58:41.288]
RMAN>

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:59:07.884]
DBGSQL:        sqlcode=0 [14:59:07.885]
DBGSQL:           :b1 = 0

DBGMISC:    Node # 1 [14:59:07.885]
DBGMISC:    EXIT


DBGSQL:   EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into :
b1  from v$database  [14:59:07.886]
DBGSQL:      sqlcode=0 [14:59:07.886]
DBGSQL:         :b1 = 0
Recovery Manager complete.

DBGSQL:   EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into :
b1  from v$database  [14:59:07.887]
DBGSQL:      sqlcode=0 [14:59:07.887]
DBGSQL:         :b1 = 0
DBGRPC:   krmxcd: xc=233687544
DBGMISC:  ENTERED krmkmrsr [14:59:07.888]

DBGSQL:    EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
:b1  from v$database  [14:59:07.888]
DBGSQL:       sqlcode=0 [14:59:07.888]
DBGSQL:          :b1 = 0

DBGSQL:    EXEC SQL AT TARGET select  /*+  rule  +*/ nvl(round(sum(MBYTES_PROCESSED)),0) ,nvl(round(sum
(INPUT_BYTES)),0) ,nvl(round(sum(OUTPUT_BYTES)),0)  from V$RMAN_STATUS  start with (RECID=:b1 and STAMP
=:b2)  connect by prior RECID=parent_recid             [14:59:07.889]
DBGSQL:       sqlcode=0 [14:59:07.889]
DBGSQL:          :b1 = 13
DBGSQL:          :b2 = 839775490

DBGSQL:    EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:59:07.889]
DBGSQL:       sqlcode=0 [14:59:07.891]
DBGSQL:          :b1 = 1084
DBGSQL:          :b2 = 1136156672
DBGSQL:          :b3 = 196386816

DBGSQL:    EXEC SQL at TARGET FETCH/CLOSE of prior statement [14:59:07.891]
DBGSQL:       sqlcode=0 [14:59:07.891]
DBGSQL:    ENTERED krmkgodevtype [14:59:07.892]

DBGSQL:     EXEC SQL AT TARGET select decode(open_mode,'MOUNTED',0,'READ WRITE',1,'READ ONLY',1,0) into
 :b1  from v$database  [14:59:07.892]
DBGSQL:        sqlcode=0 [14:59:07.892]
DBGSQL:           :b1 = 0
DBGMISC:    krmkgodevtype: return device type  [14:59:07.894]

DBGSQL:     EXEC SQL AT TARGET begin sys . dbms_backup_restore . commitRmanStatusRow ( row_id => :row_i
d , row_stamp => :row_stamp , mbytes => :mb , status => :status , ibytes => :ib , obytes => :ob , odevt
ype => :odevtype ) ; end ; [14:59:07.894]
DBGSQL:        sqlcode=0 [14:59:07.972]
DBGSQL:           :b1 = 13
DBGSQL:           :b2 = 839775490
DBGSQL:           :b3 = 1084
DBGSQL:           :b4 = 2
DBGSQL:           :b5 = 1136156672
DBGSQL:           :b6 = 196386816
DBGSQL:           :b7 =
DBGMISC:   EXITED krmkmrsr [14:59:07.973] elapsed time [00:00:00:00.085]
DBGMISC:   ENTERED krmksimronly [14:59:07.973]
DBGMISC:   EXITED krmksimronly [14:59:07.973] elapsed time [00:00:00:00.000]
DBGRPC:    krmxcd: xc=233700544
DBGRPC:    krmxcd: xc=233702928
DBGRPC:    krmxcd: xc=233705312
DBGRPC:    krmxcd: xc=233707696
DBGRPC:    krmxpocx: polling channel cleaned up
[ododod@cnsz131026 ~]$ 

你可能感兴趣的:(rman备份的完整trace文家,mark下,后续看下。)