RE: Using "> /dev/null 2>&1" in 11g RMan

  • From: japplewhite@xxxxxxxxxxxxx
  • To: Michael Dinh <mdinh@xxxxxxxxx>
  • Date: Fri, 25 May 2012 08:07:18 -0500

Sure, that'll work.  I just wanted to be able to use something like the 
sqlplus Set Define to change RMan to use ~ instead of &.  I'm surprised 
that there's no option to do this.  Now I'll have to edit all the 10g 
scripts.  A Set or Configure option in RMan would make things simpler.
Thanks.

Jack C. Applewhite - Database Administrator
Austin I.S.D. - MIS Department
512.414.9250 (wk)  /  512.935.5929 (pager)




From:   Michael Dinh <mdinh@xxxxxxxxx>
To:     "'japplewhite@xxxxxxxxxxxxx'" <japplewhite@xxxxxxxxxxxxx>, 
"Oracle-L@xxxxxxxxxxxxx" <Oracle-L@xxxxxxxxxxxxx>
Date:   05/24/2012 05:36 PM
Subject:        RE: Using  "> /dev/null 2>&1" in 11g RMan


Would you entertain something like?

1> /dev/null 2> /dev/null

This way it won't conflict with &1 &2

Michael Dinh
Disparity Breaks Automation (DBA)


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] 
On Behalf Of japplewhite@xxxxxxxxxxxxx
Sent: Thursday, May 24, 2012 3:06 PM
To: Oracle-L@xxxxxxxxxxxxx
Subject: Using "> /dev/null 2>&1" in 11g RMan

Being new to 11g, I just found out that &1, &2 sqlplus-type substitution 
variables can be used in RMan.  I have 10g RMan scripts in which I 
redirect output from some Host commands via  "> /dev/null 2>&1".  Of 
course 11g RMan now asks for the value of &1.  After searching the docs 
and Googling, I still can't find out how to change & to, say ~, using 
something like the sqlplus Set Define command.  Can this be done in 11g 
RMan?
Thanks.

Jack C. Applewhite - Database Administrator


--
//www.freelists.org/webpage/oracle-l





--
//www.freelists.org/webpage/oracle-l


Other related posts: