RE: Using "> /dev/null 2>&1" in 11g RMan
Date: Fri, 25 May 2012 08:07:18 -0500
Message-ID: <OF448A4B5A.B5AEBF8A-ON86257A09.00477ED5-86257A09.00481293_at_austinisd.org>
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_at_XIFIN.Com>
To: "'japplewhite_at_austinisd.org'" <japplewhite_at_austinisd.org>,
"Oracle-L_at_freelists.org" <Oracle-L_at_freelists.org>
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_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of japplewhite_at_austinisd.org
Sent: Thursday, May 24, 2012 3:06 PM
To: Oracle-L_at_freelists.org
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
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Fri May 25 2012 - 08:07:18 CDT