Using "> /dev/null 2>&1" in 11g RMan
From: <japplewhite_at_austinisd.org>
Date: Thu, 24 May 2012 17:06:13 -0500
Message-ID: <OFB1A4A729.725106BE-ON86257A08.0078DBB2-86257A08.0079695F_at_austinisd.org>
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.
Date: Thu, 24 May 2012 17:06:13 -0500
Message-ID: <OFB1A4A729.725106BE-ON86257A08.0078DBB2-86257A08.0079695F_at_austinisd.org>
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
Austin I.S.D. - MIS Department
512.414.9250 (wk) / 512.935.5929 (pager)
-- http://www.freelists.org/webpage/oracle-lReceived on Thu May 24 2012 - 17:06:13 CDT