Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 31875 invoked from network); 2 Feb 2006 04:12:56 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 2 Feb 2006 04:12:56 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5BE37290D04;
 Thu,  2 Feb 2006 05:12:53 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 05833-10; Thu, 2 Feb 2006 05:12:53 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C4A62290C1B;
 Thu,  2 Feb 2006 05:12:52 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 02 Feb 2006 05:12:37 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 586FA290C2B
 for <oracle-l@freelists.org>; Thu,  2 Feb 2006 05:12:37 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 05596-07 for <oracle-l@freelists.org>;
 Thu, 2 Feb 2006 05:12:37 -0500 (EST)
Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.192])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C5A70290BAD
 for <oracle-l@freelists.org>; Thu,  2 Feb 2006 05:12:36 -0500 (EST)
Received: by uproxy.gmail.com with SMTP id c2so102962ugf
        for <oracle-l@freelists.org>; Thu, 02 Feb 2006 02:12:35 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
        b=KsIEIGny7krpNtzWRypAPk8pePiGI8uCvcK4s9Ov0/1FmHvsExNz1Cr4MSuVlKDb8Mb7k42RksRZdTrSbAr9bz8wCo2akAEdHejNS5H4h6MTiCJhUBnEmtBO30uLKkgDq0zOt9FKWaQ8V4HE9aki5HRD1M96OvND5t0/2Tx3BOs=
Received: by 10.49.20.3 with SMTP id x3mr66262nfi;
        Thu, 02 Feb 2006 02:12:35 -0800 (PST)
Received: by 10.48.211.19 with HTTP; Thu, 2 Feb 2006 02:12:35 -0800 (PST)
Message-ID: <7765c8970602020212h390e03eme59492ac38cd7c17@mail.gmail.com>
Date: Thu, 2 Feb 2006 10:12:35 +0000
From: Niall Litchfield <niall.litchfield@gmail.com>
To: Mark.Bobak@il.proquest.com
Subject: Re: running os command from pl/sql block
Cc: cjpengel.dbalert@xs4all.nl, johan.eriksson@bossmedia.se,
 Foelz.Frank@scheidt-bachmann.de, ORACLE-L <oracle-l@freelists.org>
In-Reply-To: <AA29A27627F842409E1D18FB19CDCF27069D41A0@AABO-EXCHANGE02.bos.il.pqe>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_11680_949400.1138875155100"
References: <AA29A27627F842409E1D18FB19CDCF27069D41A0@AABO-EXCHANGE02.bos.il.pqe>
X-archive-position: 30693
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: niall.litchfield@gmail.com
Precedence: normal
Reply-To: niall.litchfield@gmail.com
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net
------=_Part_11680_949400.1138875155100
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Packages didn't make their way into PL/SQL until version 2 of PL/SQL which
became available with version 7 :).

I'll get my coat.

Niall



On 2/1/06, Bobak, Mark <Mark.Bobak@il.proquest.com> wrote:
>
> 7.1.6.2.0, Carel-Jan?  What, you didn't have anything older? ;-)
>
>
>
> *--*
> *Mark J. Bobak*
> *Senior Oracle Architect*
> *ProQuest Information & Learning*
>
> "There are 10 types of people in the world:  Those who understand binary,
> and those who don't."
>
>
>  ------------------------------
> *From:* oracle-l-bounce@freelists.org [mailto:
> oracle-l-bounce@freelists.org] *On Behalf Of *Carel-Jan Engel
> *Sent:* Wednesday, February 01, 2006 8:49 AM
> *To:* johan.eriksson@bossmedia.se
> *Cc:* Foelz.Frank@Scheidt-Bachmann.de; ORACLE-L
> *Subject:* RE: running os command from pl/sql block
>
> My $0.02:
>
> ease@admin:/home/oracle>sqlplus system
>
> SQL*Plus: Release 3.1.3.7.1 - Production on Wed Feb  1 14:39:58 2006
>
> Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
>
> Enter password:
>
> Connected to:
> Oracle7 Server Release 7.1.6.2.0 - Production Release
> With the distributed, replication and Parallel Server options
> PL/SQL Release 2.1.6.2.0 - Production
>
> SQL> select dbms_utility.port_string from dual;
> select dbms_utility.port_string from dual
>        *
> ERROR at line 1:
> ORA-06571: Function PORT_STRING does not guarantee not to update database
>
>
> SQL> set serveroutput on
> SQL> declare
>   2    result varchar2(80);
>   3  begin
>   4    result :=3D dbms_utility.port_string;
>   5    dbms_output.put_line(result);
>   6  end;
>   7  /
> SystemV/386-3.2-7.0.0
>
> PL/SQL procedure successfully completed.
>
> SQL> exit
> Disconnected from Oracle7 Server Release 7.1.6.2.0 - Production Release
> With the distributed, replication and Parallel Server options
> PL/SQL Release 2.1.6.2.0 - Production
> ease@admin:/home/oracle>uname -a
> SCO_SV admin 3.2 2 i386
> ease@admin:/home/oracle>
>
>
> Best regards,
>
> Carel-Jan Engel
>
> =3D=3D=3D
> If you think education is expensive, try ignorance. (Derek Bok)
> =3D=3D=3D
>
>
> On Wed, 2006-02-01 at 14:26 +0100, johan Eriksson wrote:
>
> i think it is the version of the two task protocol, but not sure aboutthi=
s.
> /Johan
> On Wed, 2006-02-01 at 14:04 +0100, Foelz.Frank wrote:> so what is the "8.=
1.0" which is unique in each OS string ?
> --http://www.freelists.org/webpage/oracle-l
>
>
>
>
>


--
Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com

------=_Part_11680_949400.1138875155100
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Packages didn't make their way into PL/SQL until version 2 of PL/SQL which =
became available with version 7 :). <br><br>I'll get my coat. <br><br>Niall=
<br> <br><br><br><div><span class=3D"gmail_quote">On 2/1/06, <b class=3D"gm=
ail_sendername">
Bobak, Mark</b> &lt;<a href=3D"mailto:Mark.Bobak@il.proquest.com">Mark.Boba=
k@il.proquest.com</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" st=
yle=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex=
; padding-left: 1ex;">





<div dir=3D"ltr" align=3D"left"><span><font color=3D"#0000ff" face=3D"Arial=
" size=3D"2">7.1.6.2.0, Carel-Jan?&nbsp; What, you didn't have anything=20
older? ;-)</font></span></div>
<div dir=3D"ltr" align=3D"left"><span><font color=3D"#0000ff" face=3D"Arial=
" size=3D"2"></font></span>&nbsp;</div>
<div>&nbsp;</div>
<p><span class=3D"q"><b><span lang=3D"en-us"><font face=3D"Century Gothic" =
size=3D"2">--</font></span></b>=20
<br><b><span lang=3D"en-us"><font face=3D"Century Gothic" size=3D"2">Mark J=
.=20
Bobak</font></span></b> <br><b><span lang=3D"en-us"><font face=3D"Century G=
othic" size=3D"2">Senior Oracle Architect</font></span></b> <br></span><b><=
span lang=3D"en-us"><font color=3D"#000000" face=3D"Century Gothic" size=3D=
"2">P</font>
<font face=3D"Century Gothic" size=3D"2">ro</font><font color=3D"#ff0000" f=
ace=3D"Century Gothic" size=3D"2">Q</font><font face=3D"Century Gothic" siz=
e=3D"2">uest Information &amp; Learning</font></span></b>=20
</p><span class=3D"q">
<p><span lang=3D"en-us"><font face=3D"Californian FB">&quot;There are 10 ty=
pes of people in=20
the world:&nbsp; Those who understand binary, and those who=20
don't.&quot;</font></span> </p>
<div>&nbsp;</div><br>
</span><div dir=3D"ltr" align=3D"left" lang=3D"en-us">
<hr>
<font face=3D"Tahoma" size=3D"2"><b>From:</b> <a href=3D"mailto:oracle-l-bo=
unce@freelists.org" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(=
window,event,this)">oracle-l-bounce@freelists.org</a>=20
[mailto:<a href=3D"mailto:oracle-l-bounce@freelists.org" target=3D"_blank" =
onclick=3D"return top.js.OpenExtLink(window,event,this)">oracle-l-bounce@fr=
eelists.org</a>] <b>On Behalf Of </b>Carel-Jan=20
Engel<br><b>Sent:</b> Wednesday, February 01, 2006 8:49 AM<br><b>To:</b>=20
<a href=3D"mailto:johan.eriksson@bossmedia.se" target=3D"_blank" onclick=3D=
"return top.js.OpenExtLink(window,event,this)">johan.eriksson@bossmedia.se<=
/a><br><b>Cc:</b> <a href=3D"mailto:Foelz.Frank@Scheidt-Bachmann.de" target=
=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this)">
Foelz.Frank@Scheidt-Bachmann.de</a>;=20
ORACLE-L<br><b>Subject:</b> RE: running os command from pl/sql=20
block<br></font><br></div><div><span class=3D"e" id=3D"q_10925e499bbcea59_5=
">
<div></div>My $0.02: <pre>ease@admin:/home/oracle&gt;sqlplus system<br><br>=
SQL*Plus: Release 3.1.3.7.1 - Production on Wed Feb&nbsp; 1 14:39:58 2006<b=
r><br>Copyright (c) Oracle Corporation 1979, 1994.&nbsp; All rights reserve=
d.<br>
<br>Enter password:<br><br>Connected to:<br>Oracle7 Server Release 7.1.6.2.=
0 - Production Release<br>With the distributed, replication and Parallel Se=
rver options<br>PL/SQL Release 2.1.6.2.0 - Production<br><br>SQL&gt; select=
 dbms_utility.port_string from dual;
<br>select dbms_utility.port_string from dual<br>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; *<br>ERROR at line 1:<br>ORA-06571: Function PORT_STRING does no=
t guarantee not to update database<br><br><br>SQL&gt; set serveroutput on<b=
r>SQL&gt; declare<br>&nbsp; 2&nbsp;&nbsp;&nbsp; result varchar2(80);
<br>&nbsp; 3&nbsp; begin<br>&nbsp; 4&nbsp;&nbsp;&nbsp; result :=3D dbms_uti=
lity.port_string;<br>&nbsp; 5&nbsp;&nbsp;&nbsp; dbms_output.put_line(result=
);<br>&nbsp; 6&nbsp; end;<br>&nbsp; 7&nbsp; /<br>SystemV/386-3.2-7.0.0<br><=
br>PL/SQL procedure successfully completed.<br><br>SQL&gt; exit<br>Disconne=
cted from Oracle7 Server Release=20
7.1.6.2.0 - Production Release<br>With the distributed, replication and Par=
allel Server options<br>PL/SQL Release 2.1.6.2.0 - Production<br>ease@admin=
:/home/oracle&gt;uname -a<br>SCO_SV admin 3.2 2 i386<br>ease@admin:/home/or=
acle&gt;
<br><br></pre><br><pre><table cellpadding=3D"0" cellspacing=3D"0" width=3D"=
100%"><tbody><tr><td>Best regards,<br><br>Carel-Jan Engel<br><br>=3D=3D=3D<=
br>If you think education is expensive, try ignorance. (Derek Bok)<br>=3D=
=3D=3D </td></tr>
</tbody></table>
</pre><br>On Wed, 2006-02-01 at 14:26 +0100, johan Eriksson wrote:=20
<blockquote type=3D"CITE"><pre><font color=3D"#000000">i think it is the ve=
rsion of the two task protocol, but not sure about</font>
<font color=3D"#000000">this.</font>

<font color=3D"#000000">/Johan</font>

<font color=3D"#000000">On Wed, 2006-02-01 at 14:04 +0100, Foelz.Frank wrot=
e:</font>
<font color=3D"#000000">&gt; so what is the &quot;8.1.0&quot; which is uniq=
ue in each OS string ?</font>

<font color=3D"#000000">--</font>
<font color=3D"#000000"><a href=3D"http://www.freelists.org/webpage/oracle-=
l" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this=
)">http://www.freelists.org/webpage/oracle-l</a></font>


</pre></blockquote><br>
<table cellpadding=3D"0" cellspacing=3D"0" width=3D"100%">
  <tbody>
  <tr>
    <td><br></td></tr></tbody></table>

</span></div><br clear=3D"all"></blockquote></div><br><br clear=3D"all"><br=
>-- <br>Niall Litchfield<br>Oracle DBA<br><a href=3D"http://www.niall.litch=
field.dial.pipex.com">http://www.niall.litchfield.dial.pipex.com</a>

------=_Part_11680_949400.1138875155100--
--
http://www.freelists.org/webpage/oracle-l


