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 h78JBVv15104
 for <oracle-l@orafaq.net>; Fri, 8 Aug 2003 14:11:31 -0500
X-ClientAddr: 66.27.56.213
Received: from www2.fatcity.com (rrcs-west-66-27-56-213.biz.rr.com [66.27.56.213])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h78JB9p15071
 for <oracle-l@orafaq.net>; Fri, 8 Aug 2003 14:11:09 -0500
Received: (from root@localhost)
 by www2.fatcity.com (8.11.6/8.11.6) id h78GlPY20749
 for oracle-l@orafaq.net; Fri, 8 Aug 2003 09:47:25 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005C9A9A; Fri, 08 Aug 2003 09:39:33 -0800
Message-ID: <F001.005C9A9A.20030808093933@fatcity.com>
Date: Fri, 08 Aug 2003 09:39:33 -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: Limits on PL/SQL block?
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-654b1866-bfba-4fb1-8bd9-d7a43c668647"
------=_NextPartTM-000-654b1866-bfba-4fb1-8bd9-d7a43c668647
Content-Type: multipart/alternative;
 boundary="----_=_NextPart_001_01C35DCC.2B38C00B"
------_=_NextPart_001_01C35DCC.2B38C00B
Content-Type: text/plain;
 charset="iso-8859-1"

Talking about breaking up into blocks ...
 
one of my seniors in early days in college told me 'Never write a function
longer than one page'. I was troubled by that then, but now now. 
Now my screen resolution set to 1280x1024 I can use vi on x windows with
small font size to write long procedures and still be in one page ...
 
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: Friday, August 08, 2003 1:30 PM
To: Multiple recipients of list ORACLE-L


That Diana is a b.....Oooops, I forgot that English is not my native tongue.
 
 
--
Mladen Gogala
Oracle DBA 


-----Original Message-----
Jamadagni, Rajendra
Sent: Friday, August 08, 2003 12:59 PM
To: Multiple recipients of list ORACLE-L



You want more cryptic answer ?? 

pl/sql block is limited by 64K Diana nodes. my guess is each node is a
token. No one will tell you what a Diana node is, but it is used to parse
pl/sql (after all it is modeled after ADA).

Only solution, instead of testing the limits, break the long code into
manageable chunks. The people who will maintain it will speak fondly about
you.

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: Friday, August 08, 2003 11:39 AM 
To: Multiple recipients of list ORACLE-L 



I'm seeing a "PLS-00123 program too large" error. Oracle's 
documentation says that the actual limit on the size of 
the block is dependant on the mix of statements in the 
PL/SQL block. Does anyone know how Oracle determines this 
limit? Is it a pure size of PL/SQL block in bytes, or is 
it number of unique statements in the block, or is it 
dependant on how much redo that the block may generate? 

(I know the recommended solution is to modularize and 
break up the statements into multiple blocks, but I'd 
like to know what are the limits to give us a better 
idea of determining where to break up the blocks 
dynamically, so the answer I'm really looking for is 
what is the limit or how Oracle determines the size 
limit, and not workarounds, which we're exploring 
anyway.) 

TIA 

..Rudy 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
<http://www.orafaq.net>  
-- 
Author: Rudy Zung 
  INET: rzung@printcafe.com 

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
<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). 

  _____  

Note:
This message is for the named person's use only.  It may contain
confidential, proprietary or legally privileged information.  No
confidentiality or privilege is waived or lost by any mistransmission.  If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender.  You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Wang Trading LLC and any of its subsidiaries each reserve the
right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized to
state them to be the views of any such entity.
 

  _____  



------_=_NextPart_001_01C35DCC.2B38C00B
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">
<TITLE>Message</TITLE>

<META content="MSHTML 5.50.4926.2500" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=658474016-08082003>Talking about breaking up into blocks 
...</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=658474016-08082003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=658474016-08082003>one of my seniors in early days in college told me 
'Never write a function longer than one page'. I was troubled by that then, but 
now now. </SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=658474016-08082003>N</SPAN></FONT><FONT face="Courier New" color=#0000ff 
size=2><SPAN class=658474016-08082003>ow my screen resolution set to 1280x1024 I 
can use vi on x windows with small font size to write long procedures and still 
be in one page ...</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=658474016-08082003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=658474016-08082003>Raj</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=658474016-08082003></SPAN></FONT><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>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Mladen Gogala 
  [mailto:mladen@wangtrading.com]<BR><B>Sent:</B> Friday, August 08, 2003 1:30 
  PM<BR><B>To:</B> Multiple recipients of list ORACLE-L<BR><B>Subject:</B> RE: 
  Limits on PL/SQL block?<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=366423116-08082003>That 
  Diana is a b.....Oooops, I forgot that English is not my native 
  tongue.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=left>--<BR>Mladen Gogala<BR>Oracle DBA <BR></DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
    face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
    ml-errors@fatcity.com [mailto:ml-errors@fatcity.com] <B>On Behalf Of 
    </B>Jamadagni, Rajendra<BR><B>Sent:</B> Friday, August 08, 2003 12:59 
    PM<BR><B>To:</B> Multiple recipients of list ORACLE-L<BR><B>Subject:</B> RE: 
    Limits on PL/SQL block?<BR><BR></FONT></DIV>
    <P><FONT size=2>You want more cryptic answer ??</FONT> </P>
    <P><FONT size=2>pl/sql block is limited by 64K Diana nodes. my guess is each 
    node is a token. No one will tell you what a Diana node is, but it is used 
    to parse pl/sql (after all it is modeled after ADA).</FONT></P>
    <P><FONT size=2>Only solution, instead of testing the limits, break the long 
    code into manageable chunks. The people who will maintain it will speak 
    fondly about you.</FONT></P>
    <P><FONT size=2>Raj</FONT> <BR><FONT 
    size=2>--------------------------------------------------------------------------------</FONT> 
    <BR><FONT size=2>Rajendra dot Jamadagni at nospamespn dot com</FONT> 
    <BR><FONT size=2>All Views expressed in this email are strictly 
    personal.</FONT> <BR><FONT size=2>QOTD: Any clod can have facts, having an 
    opinion is an art !</FONT> </P><BR>
    <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: 
    Rudy Zung [<A 
    href="mailto:rzung@printcafe.com">mailto:rzung@printcafe.com</A>]</FONT> 
    <BR><FONT size=2>Sent: Friday, August 08, 2003 11:39 AM</FONT> <BR><FONT 
    size=2>To: Multiple recipients of list ORACLE-L</FONT> <BR><FONT 
    size=2>Subject: Limits on PL/SQL block?</FONT> </P><BR><BR>
    <P><FONT size=2>I'm seeing a "PLS-00123 program too large" error. Oracle's 
    </FONT><BR><FONT size=2>documentation says that the actual limit on the size 
    of</FONT> <BR><FONT size=2>the block is dependant on the mix of statements 
    in the</FONT> <BR><FONT size=2>PL/SQL block. Does anyone know how Oracle 
    determines this</FONT> <BR><FONT size=2>limit? Is it a pure size of PL/SQL 
    block in bytes, or is</FONT> <BR><FONT size=2>it number of unique statements 
    in the block, or is it</FONT> <BR><FONT size=2>dependant on how much redo 
    that the block may generate?</FONT> </P>
    <P><FONT size=2>(I know the recommended solution is to modularize and</FONT> 
    <BR><FONT size=2>break up the statements into multiple blocks, but 
    I'd</FONT> <BR><FONT size=2>like to know what are the limits to give us a 
    better</FONT> <BR><FONT size=2>idea of determining where to break up the 
    blocks</FONT> <BR><FONT size=2>dynamically, so the answer I'm really looking 
    for is</FONT> <BR><FONT size=2>what is the limit or how Oracle determines 
    the size</FONT> <BR><FONT size=2>limit, and not workarounds, which we're 
    exploring </FONT><BR><FONT size=2>anyway.)</FONT> </P>
    <P><FONT size=2>TIA</FONT> </P>
    <P><FONT size=2>..Rudy</FONT> <BR><FONT size=2>-- </FONT><BR><FONT 
    size=2>Please see the official ORACLE-L FAQ: <A target=_blank 
    href="http://www.orafaq.net">http://www.orafaq.net</A></FONT> <BR><FONT 
    size=2>-- </FONT><BR><FONT size=2>Author: Rudy Zung</FONT> <BR><FONT 
    size=2>&nbsp; INET: rzung@printcafe.com</FONT> </P>
    <P><FONT size=2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- 858-538-5051 
    <A target=_blank 
    href="http://www.fatcity.com">http://www.fatcity.com</A></FONT> <BR><FONT 
    size=2>San Diego, California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- 
    Mailing list and web hosting services</FONT> <BR><FONT 
    size=2>---------------------------------------------------------------------</FONT> 
    <BR><FONT size=2>To REMOVE yourself from this mailing list, send an E-Mail 
    message</FONT> <BR><FONT size=2>to: ListGuru@fatcity.com (note EXACT 
    spelling of 'ListGuru') and in</FONT> <BR><FONT size=2>the message BODY, 
    include a line containing: UNSUB ORACLE-L</FONT> <BR><FONT size=2>(or the 
    name of mailing list you want to be removed from).&nbsp; You may</FONT> 
    <BR><FONT size=2>also send the HELP command for other information (like 
    subscribing).</FONT> </P></BLOCKQUOTE>
  <HR>

  <DIV><STRONG>Note:</STRONG></DIV>
  <DIV>This message is for the named person's use only.&nbsp; It may contain 
  confidential, proprietary or legally privileged information.&nbsp; No 
  confidentiality or privilege is waived or lost by any mistransmission.&nbsp; 
  If you receive this message in error,&nbsp;please immediately delete it and 
  all copies of it from your system, destroy any hard copies of it and notify 
  the sender.&nbsp; You must not, directly or indirectly, use, disclose, 
  distribute, print, or copy any part of this message if you are not the 
  intended recipient.&nbsp;<STRONG><FONT color=#ff8000>Wang Trading 
  LLC&nbsp;</FONT></STRONG>and any of its subsidiaries each reserve the right to 
  monitor all e-mail communications through its networks.</DIV>
  <DIV>Any views expressed in this message are those of the individual sender, 
  except where the message states otherwise and the sender is authorized to 
  state them to be the views of any such entity.</DIV>
  <DIV>&nbsp;</DIV><STRONG></STRONG>
  <HR>
</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C35DCC.2B38C00B--


------=_NextPartTM-000-654b1866-bfba-4fb1-8bd9-d7a43c668647
Content-Type: text/plain;
 name="ESPN_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="ESPN_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-654b1866-bfba-4fb1-8bd9-d7a43c668647--

-- 
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).

