RMAN Cmd file script error
Dear All,
I am trying to create rman cmd file script to clone a database. When i execute the commands through rman command scripts, its working fine, but when executing through a cmd file, its showing the following error.
Recovery Manager: Release 11.2.0.2.0 - Production on Fri Dec 14 12:59:27 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target *
2> run
3> {
4> restore controlfile from '/testdb/backup/CISPROD/141212/cf_c-2003381688-20121214-00';
5> allocate channel c1 type disk;
6> allocate channel c2 type disk;
7> allocate channel c3 type disk;
8> allocate channel c4 type disk;
9> set newname for datafile 1 to '/testdb/app/oradata/cistest/system01.dbf';
0