RE: Where does STATSPACK save its reports generated with spreport

  • From: "Ian Cary (C)" <Ian.Cary@xxxxxxxxxxxxxxxxxxxx>
  • To: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>, <davidsharples@xxxxxxxxx>, <ldk2005@xxxxxxxxx>
  • Date: Fri, 9 Sep 2005 08:37:28 +0100

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@xxxxxxxxxxx]
Sent: 08 September 2005 17:13
To: Ian Cary (C); davidsharples@xxxxxxxxx; ldk2005@xxxxxxxxx
Cc: Oracle-L@xxxxxxxxxxxxx
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@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]On 
Behalf Of Ian Cary (C)
Sent: Thursday, September 08, 2005 7:24 AM
To: davidsharples@xxxxxxxxx; ldk2005@xxxxxxxxx
Cc: Oracle-L@xxxxxxxxxxxxx
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

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

Other related posts: