Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Oracle / Oracle Server / August 2007

Tip: Looking for answers? Try searching our database.

Suppressing output in export/import.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nitesh - 30 Aug 2007 21:32 GMT
Hi,

Please suggest if there is any way to suppress output in export/import.
Anurag Varma - 30 Aug 2007 21:42 GMT
> Hi,
>
> Please suggest if there is any way to suppress output in export/import.

for unix

exp ... > /dev/null

... Why do you want to suppress output anyway?

Anurag
sybrandb@hccnet.nl - 30 Aug 2007 23:41 GMT
>> Hi,
>>
[quoted text clipped - 7 lines]
>
>Anurag

IIRC output is sent to stderr so this won't work.

Signature

Sybrand Bakker
Senior Oracle DBA

HansH - 31 Aug 2007 00:38 GMT
>>> Please suggest if there is any way to suppress output in export/import.
>>for unix
>>exp ... > /dev/null
> IIRC output is sent to stderr so this won't work.
Then just  try any of
exp ... >/dev/null 2>/dev/null
exp ... >2 2>/dev/null
exp ... 2>1 >/dev/null
exp ... >&/dev/null

or for Windows 2000 and above
exp ... >nul 2>nul
exp ... >2 2>nul
exp ... 2>1 >nul

but then again -to the OP- WHY

HansH
Marc Bruinsma - 31 Aug 2007 13:43 GMT
>>>> Please suggest if there is any way to suppress output in export/import.
>>>for unix
[quoted text clipped - 14 lines]
>
> HansH
And if that doesn't work, you can always switch off your monitor. Works on
all OS'es ;-)
Anurag Varma - 31 Aug 2007 16:00 GMT
On Aug 30, 6:41 pm, sybra...@hccnet.nl wrote:

> >> Hi,
>
[quoted text clipped - 13 lines]
> Sybrand Bakker
> Senior Oracle DBA

Sybrand,

You remember correctly. The output is indeed sent to stderr ..
for which the command can be changed to
exp ... > /dev/null 2>&1   ...

Anurag
vitalisman@gmail.com - 31 Aug 2007 07:52 GMT
> Hi,
>
> Please suggest if there is any way to suppress output in export/import.

Do you need to discard the dump file as well? ;-)

As other suggested, tell us what is your purpose in doing so.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.