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: <>

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: [] On Behalf Of Sent: Thursday, May 24, 2012 3:06 PM
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?

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


-- Received on Thu May 24 2012 - 17:36:42 CDT

Original text of this message