title: rman script with parameters
body: <p>I was trying to pass the backup location to the rman script dynamically as below. But it fails with syntax errors. Is there a way to pass the "/backup/folder/folder/" to the rman script? If I just pass string without "/" it works but with "/" it fails. </p>
  
  <pre><code>rman @${rmanbasepath}rman_replication_from_backups.rcv USING ${dbname} ${backupdir}
  </code></pre>
  
  <h1>backup.rcv</h1>
  
  <pre><code>CONNECT AUXILIARY /
  run {
  allocate auxiliary channel a1 device type disk;
  allocate auxiliary channel a2 device type disk;
  allocate auxiliary channel a3 device type disk;
  allocate auxiliary channel a4 device type disk;
  DUPLICATE TARGET DATABASE TO &amp;1
  BACKUP LOCATION '&amp;2'
  NOFILENAMECHECK;
  }
  EXIT;
  </code></pre>