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

From: Michael Dinh <mdinh_at_XIFIN.Com>
Date: Thu, 24 May 2012 15:36:42 -0700
Message-ID: <D29F9902E534D5478F2E83FD6A44B30649BF83CF00_at_mail02.mba.xifin.com>



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)

Confidence comes not from always being right but from not fearing to be wrong - Peter T Mcintyre Great minds discuss ideas; average minds discuss events; small minds discuss people - Eleanor Roosevelt  When any rule or formula becomes a substitute for thought rather than an aid to thinking, it is dangerous and should be discarded -Thomas William Phelps  

-----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 Austin I.S.D. - MIS Department
512.414.9250 (wk) / 512.935.5929 (pager)

--

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

--

http://www.freelists.org/webpage/oracle-l Received on Thu May 24 2012 - 17:36:42 CDT

Original text of this message