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: spool to symbol in vms

RE: spool to symbol in vms

From: Reidy, Ron <Ron.Reidy_at_arraybiopharma.com>
Date: Thu, 7 Sep 2006 10:12:46 -0600
Message-ID: <7209E76DACFED9469D4F5169F9880C7A2832A5@mail01bldr.arraybp.com>


Is this like Unix? If so ...  

spool ${tmp}  

--

Ron Reidy

Lead DBA

Array BioPharma, Inc.

 

 

________________________________

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Barbara Baker
Sent: Thursday, September 07, 2006 10:06 AM
To: oracle-l_at_freelists.org
Subject: spool to symbol in vms

 

OpenVMS 7.3-1
Oracle 9.2.0.4

Hi, all.
Does anyone know how to spool to a symbol in vms?
Here's my dcl.  I want to spool to the file identified by the symbol
tmp.  

$ val_sid = f$trnlnm("ora_sid")
$!
$ sho sym val_sid
$ tmp = "tmp_"+"''val_sid'"+".txt"
$ sho sym tmp
$ sqlplus "/ as sysdba"
spool 'tmp select '$ STOP/IDENTIFICATION=' || p.spid proc_id from v$session s, v$process . . . . . Thanks for any help! Barb This electronic message transmission is a PRIVATE communication which contains information which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, please be aware that any disclosure, copying, distribution 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. -- http://www.freelists.org/webpage/oracle-l
Received on Thu Sep 07 2006 - 11:12:46 CDT

Original text of this message

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