RE: Where does STATSPACK save its reports generated with spreport

  • To: <Ian.Cary@xxxxxxxxxxxxxxxxxxxx>, <davidsharples@xxxxxxxxx>, <ldk2005@xxxxxxxxx>
  • Date: Thu, 8 Sep 2005 09:12:34 -0700

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.

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

Other related posts: