tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Ed Lewis <ELewis () rbmg ! com>
To: tru64-unix-managers
Subject: named pipes
Date: Mon, 24 Aug 1998 14:33:15 +0000	[thread overview]
Message-ID: <96078718211897.tru64-unix-managers.marc@archive.invalid> (raw)


>    Hi,
> 	I need some help with a named pipes problem I am having.
> 	The script I've enclosed uses named pipes to do an export
> 	of a Oracle database. The command will do compression
> 	as it exports.
> 	The command works fine if the database is available. 
> 	The problem is when the database is not available, the commands
> 	that remove the named pipes ( rm -f ) do not execute, and
> 	the "compress" and "cat" commands will not be cleaned up.
> 	Is there some error trapping I can use to make this work ?
> 	Your help is appreciated.
> 			thanks.
> 						ed lewis
> 
> mkfifo /tmp/pipe
> mkfifo /tmp/pipe_logs
> 
> cat /tmp/pipe | compress > /ora_exports/data/exp_fulld_lxop.data.Z
> &
> cat /tmp/pipe_logs | compress > /ora_exports/data/exp_fulld_lxop.log.Z
> &
> 
> exp parfile=/ora_exports/parfiles/exp_full
> 
> rm -f /tmp/pipe
> rm -f /tmp/pipe_logs
> 
> 
> 

             reply	other threads:[~1998-08-24 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-24 14:33 Ed Lewis [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-08-24 14:36 named pipes Ed Lewis
1995-06-30 13:31 Steve Swinnea
1995-06-26 18:22 Steve Swinnea
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox