RE: Spool To More than 1 File

  • From: "Reidy, Ron" <Ron.Reidy@xxxxxxxxxxxxxxxxxx>
  • To: <Ethan.Post@xxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 6 Jun 2005 10:49:21 -0600

Can you 'tee' the entire session to a log file and the egrep for what =
you need?

-----------------
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Post, Ethan
Sent: Monday, June 06, 2005 10:46 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: Spool To More than 1 File


One thing I would like to see is the ability to spool output from
SQL*Plus to more than one file at a time. I am writing a script in which
I am spooling the results of each command to "foo" and then grepping the
foo file for the elapsed time and putting it in a log file using "!grep
...". The problem with this method is that I can't spool the results of
the entire script to another file in the event I want to see the detail.
I could use some "cat" commands to keep moving the results but this
seems like a pretty easy and perhaps usefull feature.
--
//www.freelists.org/webpage/oracle-l

This electronic message transmission is a PRIVATE communication which =
contains
information which may be confidential or privileged. The information is =
intended=20
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
distribution=20
or use of the contents of this information is prohibited. Please notify =
the
sender  of the delivery error by replying to this message, or notify us =
by
telephone (877-633-2436, ext. 0), and then delete it from your system.

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

Other related posts: