Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Where does STATSPACK save its reports generated with spreport

RE: Where does STATSPACK save its reports generated with spreport

From: Ian Cary (C) <Ian.Cary_at_ordnancesurvey.co.uk>
Date: Fri, 9 Sep 2005 08:51:51 +0100
Message-ID: <4AA808D68343824E8891632BD448AE6B1BEB75@OSMAIL.ordsvy.gov.uk>


Of course sqlplusw.exe resides in $ORACLE_HOME/BIN so it is actually your current working directory

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Ian Cary (C) Sent: 09 September 2005 08:37
To: Allen, Brandon; davidsharples_at_gmail.com; ldk2005_at_gmail.com Cc: Oracle-L_at_freelists.org
Subject: RE: Where does STATSPACK save its reports generated with spreport

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_at_OneNeck.com] Sent: 08 September 2005 17:13
To: Ian Cary (C); davidsharples_at_gmail.com; ldk2005_at_gmail.com Cc: Oracle-L_at_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_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Ian Cary (C) Sent: Thursday, September 08, 2005 7:24 AM To: davidsharples_at_gmail.com; ldk2005_at_gmail.com Cc: Oracle-L_at_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

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

--

http://www.freelists.org/webpage/oracle-l Received on Fri Sep 09 2005 - 02:53:51 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US