Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h8QH1sc13013
 for <oracle-l@orafaq.net>; Fri, 26 Sep 2003 12:01:54 -0500
X-ClientAddr: 66.27.56.212
Received: from www3.fatcity.com (rrcs-west-66-27-56-212.biz.rr.com [66.27.56.212])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h8QH1sc13008
 for <oracle-l@orafaq.net>; Fri, 26 Sep 2003 12:01:54 -0500
Received: (from root@localhost)
 by www3.fatcity.com (8.11.6/8.11.6) id h8QDFZL08132
 for oracle-l@orafaq.net; Fri, 26 Sep 2003 06:15:35 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D12F2; Fri, 26 Sep 2003 06:14:36 -0800
Message-ID: <F001.005D12F2.20030926061436@fatcity.com>
Date: Fri, 26 Sep 2003 06:14:36 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Jamadagni, Rajendra" <Rajendra.Jamadagni@espn.com>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Jamadagni, Rajendra" <Rajendra.Jamadagni@espn.com>
Subject: RE: creating test sessions
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/mixed;	boundary="----=_NextPartTM-000-91ae0be4-1536-4648-badb-679535139dd7"
------=_NextPartTM-000-91ae0be4-1536-4648-badb-679535139dd7
Content-Type: multipart/alternative;
 boundary="----_=_NextPart_001_01C3842F.7213293D"
------_=_NextPart_001_01C3842F.7213293D
Content-Type: text/plain;
 charset="iso-8859-1"

the structure of scripts is as follows ...
 
set ...
declare
  v_alert_msg    varchar2(20);
  v_alert_status number;
begin
  dbms_alert.register('START_NOW');
  -- first wait for alert to be received ...
  dbms_alert.waitone('START_NOW',v_alert_msg, v_alert_status);
  -- your rest of script code ...
...
 
 
all scripts will be fashioned like this, once you are ready to go ... all
you need to do is
 
exec dbms_alert.raise('START_NOW',null);
commit;
 
HTHS
Raj
----------------------------------------------------------------------------
---- 
Rajendra dot Jamadagni at nospamespn dot com 
All Views expressed in this email are strictly personal. 
QOTD: Any clod can have facts, having an opinion is an art ! 

-----Original Message-----
Sent: Thursday, September 25, 2003 7:15 PM
To: Multiple recipients of list ORACLE-L


Sorry, it's either too late or I just don't get it, how come any instances
of this sql script would wait for an alert?
Is there any mechanism inside the sql script?
 
Tanel.


------_=_NextPart_001_01C3842F.7213293D
Content-Type: text/html;
 charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4930.1700" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#e0e0e0>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>the structure of scripts is as follows ...</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>set ...</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>declare</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>&nbsp; v_alert_msg&nbsp;&nbsp;&nbsp; varchar2(20);</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>&nbsp; v_alert_status&nbsp;number;</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>begin</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>&nbsp;&nbsp;dbms_alert.register('START_NOW');</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>&nbsp; -- first wait for alert to be received ...</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>&nbsp;&nbsp;dbms_alert.waitone('START_NOW',v_alert_msg, 
v_alert_status);</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>&nbsp; -- your rest of script code ...</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=786040613-26092003>...</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>all scripts will be fashioned like this, once you are ready to go ... all 
you need to do is</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>exec dbms_alert.raise('START_NOW',null);</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>commit;</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>HTHS</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003><FONT face="Courier New" color=#0000ff 
size=2>Raj</FONT></SPAN></DIV>
<DIV><SPAN class=786040613-26092003></SPAN><FONT face="Courier New" 
size=2>--------------------------------------------------------------------------------</FONT> 
<BR><FONT face="Courier New" size=2>Rajendra dot Jamadagni at nospamespn dot 
com</FONT> <BR><FONT face="Courier New" size=2>All Views expressed in this email 
are strictly personal.</FONT> <BR><FONT face="Courier New" size=2>QOTD: Any clod 
can have facts, having an opinion is an art !</FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Tanel Poder 
  [mailto:tanel.poder.003@mail.ee]<BR><B>Sent:</B> Thursday, September 25, 2003 
  7:15 PM<BR><B>To:</B> Multiple recipients of list ORACLE-L<BR><B>Subject:</B> 
  Re: creating test sessions<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Sorry, it's either too late or I just don't get 
  it, how come any instances of this sql script&nbsp;would wait for an 
  alert?</FONT></DIV>
  <DIV><FONT face=Arial size=2>Is there any mechanism inside the sql 
  script?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Tanel.</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C3842F.7213293D--


------=_NextPartTM-000-91ae0be4-1536-4648-badb-679535139dd7
Content-Type: text/plain;
 name="InterScan_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="InterScan_Disclaimer.txt"

********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************1

------=_NextPartTM-000-91ae0be4-1536-4648-badb-679535139dd7--

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jamadagni, Rajendra
  INET: Rajendra.Jamadagni@espn.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

