From oracle-l-bounce@freelists.org  Fri Sep  9 02:39:30 2005
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air891.startdedicated.com (root@localhost)
 by orafaq.com (8.12.10/8.12.10) with ESMTP id j897dT3P008772
 for <oracle-l@orafaq.com>; Fri, 9 Sep 2005 02:39:29 -0500
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j897dQIP008761
 for <oracle-l@orafaq.com>; Fri, 9 Sep 2005 02:39:27 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 24F181E9E76;
 Fri,  9 Sep 2005 02:39:20 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 19991-09; Fri, 9 Sep 2005 02:39:20 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 9439C1E9AA9;
 Fri,  9 Sep 2005 02:39:19 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
Subject: RE: Where does STATSPACK save its reports generated with spreport
Date: Fri, 9 Sep 2005 08:37:28 +0100
Message-ID: <4AA808D68343824E8891632BD448AE6B1BEB74@OSMAIL.ordsvy.gov.uk>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Where does STATSPACK save its reports generated with spreport
thread-index: AcW0gGzBChfr5ZPbSpmJa/TKJYefHgAAH4XwAAOPRHAAIIJvkA==
From: "Ian Cary (C)" <Ian.Cary@ordnancesurvey.co.uk>
To: "Allen, Brandon" <Brandon.Allen@OneNeck.com>, <davidsharples@gmail.com>,
        <ldk2005@gmail.com>
Cc: <Oracle-L@freelists.org>
X-archive-position: 25203
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: Ian.Cary@ordnancesurvey.co.uk
Precedence: normal
Reply-To: Ian.Cary@ordnancesurvey.co.uk
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net
X-mailscan-MailScanner-Information: Please contact the ISP for more information
X-mailscan-MailScanner: Found to be clean
X-MailScanner-From: oracle-l-bounce@freelists.org
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on 
 air891.startdedicated.com
X-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham 
 version=2.63

Try running sqlplusw.exe (no current working directory) and see where it goes ($ORACLE_HOME/BIN) on my machine for both 9i and 10g client software

-----Original Message-----
From: Allen, Brandon [mailto:Brandon.Allen@OneNeck.com]
Sent: 08 September 2005 17:13
To: Ian Cary (C); davidsharples@gmail.com; ldk2005@gmail.com
Cc: Oracle-L@freelists.org
Subject: RE: Where does STATSPACK save its reports generated with
spreport


Not from what I've seen - with 9.2.0.6 on Win2K3, when I run spreport.sql it saves the the output in my current working directory.  You can see from the following lines in sprepins.sql (called by spreport.sql) that it just spools to your current directory:

prompt
prompt Specify the Report Name
prompt ~~~~~~~~~~~~~~~~~~~~~~~
prompt The default report file name is &dflt_name..  To use this name, 
prompt press <return> to continue, otherwise enter an alternative.

set heading off;
column report_name new_value report_name noprint;
select 'Using the report name ' || nvl('&&report_name','&dflt_name')
     , nvl('&&report_name','&dflt_name') report_name
  from sys.dual;
spool &report_name;
set heading on;
prompt


-----Original Message-----
From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org]On Behalf Of Ian Cary (C)
Sent: Thursday, September 08, 2005 7:24 AM
To: davidsharples@gmail.com; ldk2005@gmail.com
Cc: Oracle-L@freelists.org
Subject: RE: Where does STATSPACK save its reports generated with spreport


It will default to $ORACLE_HOME/BIN if you are using a windows client



Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.



This email and any attachments have been virus checked upon receipt at Ordnance Survey and are free of all known viruses.



This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed of disclosed to any other person.
Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 023 8079 2000
http://www.ordnancesurvey.co.uk

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

