There is a known issue with clonedb.pl script,  you might end-up with “Missing braces on \o{} at clonedb.pl line 245, near “$lne’ , ‘$clonedbdir”  Especially if you are using perl Vv5.10.1.

Actual Line: print OUTFILE1 “dbms_dnfs.clonedb_renamefile(‘$lne’,’$clonedbdir/\ora_data_$cldbname$i.dbf’); \n”; 

 

lets Verify

You will get the Error when this Line of code  executed and “\o” is the root cause in Perl Execution. 

 

to avoid this, just define a new Variable $var, for Ex,  in my case,  $var = “ora_data”; and place it in the Script to get the Job Done. 

‘$clonedbdir/\ora_data_$cldbname$i.dbf’); to ‘$clonedbdir/$var\_$cldbname$i.dbf’);

Make changes in the Script as needed.

 

 

Thank you for giving your valuable time to read the above information. Happy Coding !. 😉

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

Joel Perez’s LinkedIn: Joel Perez’s Profile

Anuradha’s LinkedIn: Anuradha’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.