Hi there inmates, I'm not sure how to proceed with setting up RMAN scripts in Perl. Our Oracle databases are to be backed up using RMAN - we have multiple Oracle databases and all are at 10g except for one which is at 9i but will be upgraded shortly. I have a lot of commands that I want to pass to RMAN and think I can do this using a SYSTEM call to the RMAN executable with a here document. We use an RMAN catalogue for all our databases. I want to write these scripts entirely in Perl and thought about using the DBI. I can connect to the RMAN database using the DBI but how do I pass a block of RMAN commands in? Can I prepare the block of commands via DBI and then execute them?