 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Error(7,30): PLS-00103: Encountered the symbol &#8220;OUT&#8221; when expecting one of the following</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/error730-pls-00103-encountered-the-symbol-out-when-expecting-one-of-the-following-default-character-the-symbol-was-substi/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/error730-pls-00103-encountered-the-symbol-out-when-expecting-one-of-the-following-default-character-the-symbol-was-substi/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 09:57:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error730-pls-00103-encountered-the-symbol-out-when-expecting-one-of-the-following-default-character-the-symbol-was-substi/#comment-87366</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Tue, 01 Feb 2011 14:49:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-87366</guid>
		<description><![CDATA[RAM13INDIAN, you code has many errors.  I think you need to search the web for the basics on PL/SQL before trying to write a procedure.

Also, if you need help, please create a new question, so your problem gets the attention it deserves.]]></description>
		<content:encoded><![CDATA[<p>RAM13INDIAN, you code has many errors.  I think you need to search the web for the basics on PL/SQL before trying to write a procedure.</p>
<p>Also, if you need help, please create a new question, so your problem gets the attention it deserves.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ram13indian</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error730-pls-00103-encountered-the-symbol-out-when-expecting-one-of-the-following-default-character-the-symbol-was-substi/#comment-87319</link>
		<dc:creator>ram13indian</dc:creator>
		<pubDate>Tue, 01 Feb 2011 05:37:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-87319</guid>
		<description><![CDATA[IN THIS PROCEDURE IAM GETTING ERR MSG THAT&quot;ENCOUNTERED THE SYMBOL &quot;DECLARE&quot; WHEN EXPECTING ONE OF THE FOLLOWING:&quot; BUT IAM  USED THE DECLARE STATEMENT WITH ; AND WITHOUT ; BUT IAM GETTING SAME ERR MSG

create or replace procedure t5 as
declare no1=1;
while(no1&lt;500)
begin
print no1
no1:=no1+1
if no1=500
EXIT;
end;]]></description>
		<content:encoded><![CDATA[<p>IN THIS PROCEDURE IAM GETTING ERR MSG THAT&#8221;ENCOUNTERED THE SYMBOL &#8220;DECLARE&#8221; WHEN EXPECTING ONE OF THE FOLLOWING:&#8221; BUT IAM  USED THE DECLARE STATEMENT WITH ; AND WITHOUT ; BUT IAM GETTING SAME ERR MSG</p>
<p>create or replace procedure t5 as<br />
declare no1=1;<br />
while(no1&lt;500)<br />
begin<br />
print no1<br />
no1:=no1+1<br />
if no1=500<br />
EXIT;<br />
end;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error730-pls-00103-encountered-the-symbol-out-when-expecting-one-of-the-following-default-character-the-symbol-was-substi/#comment-82384</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Wed, 13 Oct 2010 19:40:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-82384</guid>
		<description><![CDATA[Hi Bobf.

You use the IN, OUT and NOCOPY keywords when declaring a procedure, not when calling it.

In your case, the call to dbms_lob.copy should be something like this:

&lt;pre&gt;dbms_lob.copy(tpsr,spsr,amount,dest_offset,src_offset);&lt;/pre&gt;

But if you are going to use the default values (1) for dest_offset and src_offset, this would suffice:

&lt;pre&gt;dbms_lob.copy(tpsr,spsr,amount);&lt;/pre&gt;

If the variables being passed to the procedure are not declared or contain invalid values you will get more errors.]]></description>
		<content:encoded><![CDATA[<p>Hi Bobf.</p>
<p>You use the IN, OUT and NOCOPY keywords when declaring a procedure, not when calling it.</p>
<p>In your case, the call to dbms_lob.copy should be something like this:</p>
<pre>dbms_lob.copy(tpsr,spsr,amount,dest_offset,src_offset);</pre>
<p>But if you are going to use the default values (1) for dest_offset and src_offset, this would suffice:</p>
<pre>dbms_lob.copy(tpsr,spsr,amount);</pre>
<p>If the variables being passed to the procedure are not declared or contain invalid values you will get more errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobf</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error730-pls-00103-encountered-the-symbol-out-when-expecting-one-of-the-following-default-character-the-symbol-was-substi/#comment-82383</link>
		<dc:creator>bobf</dc:creator>
		<pubDate>Wed, 13 Oct 2010 18:52:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-82383</guid>
		<description><![CDATA[I am attempting to copy a Blob from one database to another and I get the following error/

SQL&gt; Declare
  2   tpsr Blob;
  3   spsr blob;
  4  Begin
  5   Select &#039;8502&#039; into tpsr from ca90joetmp.spec_form_psr where spec_form_id = &#039;90710&#039;;
  6   Select &#039;8502&#039; into tpsr from specdev_mst.spec_form_psr where spec_form_id = &#039;29401&#039;;
  7   DBMS_LOB.COPY (
  8     tpsr    IN OUT NOCOPY BLOB,
  9     spsr     IN            BLOB,
 10     amount      IN            INTEGER,
 11     dest_offset IN            INTEGER := 1,
 12     src_offset  IN            INTEGER := 1);
 13  end;
 14  /
   tpsr    IN OUT NOCOPY BLOB,
              *
ERROR at line 8:
ORA-06550: line 8, column 15:
PLS-00103: Encountered the symbol &quot;OUT&quot; when expecting one of the following:
(]]></description>
		<content:encoded><![CDATA[<p>I am attempting to copy a Blob from one database to another and I get the following error/</p>
<p>SQL&gt; Declare<br />
  2   tpsr Blob;<br />
  3   spsr blob;<br />
  4  Begin<br />
  5   Select &#8217;8502&#8242; into tpsr from ca90joetmp.spec_form_psr where spec_form_id = &#8217;90710&#8242;;<br />
  6   Select &#8217;8502&#8242; into tpsr from specdev_mst.spec_form_psr where spec_form_id = &#8217;29401&#8242;;<br />
  7   DBMS_LOB.COPY (<br />
  8     tpsr    IN OUT NOCOPY BLOB,<br />
  9     spsr     IN            BLOB,<br />
 10     amount      IN            INTEGER,<br />
 11     dest_offset IN            INTEGER := 1,<br />
 12     src_offset  IN            INTEGER := 1);<br />
 13  end;<br />
 14  /<br />
   tpsr    IN OUT NOCOPY BLOB,<br />
              *<br />
ERROR at line 8:<br />
ORA-06550: line 8, column 15:<br />
PLS-00103: Encountered the symbol &#8220;OUT&#8221; when expecting one of the following:<br />
(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error730-pls-00103-encountered-the-symbol-out-when-expecting-one-of-the-following-default-character-the-symbol-was-substi/#comment-76750</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Mon, 03 May 2010 14:45:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-76750</guid>
		<description><![CDATA[Balajidev, if you have the same problem, then the same answer applies.  There is no way we can provide a solution without looking at the code.]]></description>
		<content:encoded><![CDATA[<p>Balajidev, if you have the same problem, then the same answer applies.  There is no way we can provide a solution without looking at the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: balajidev</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error730-pls-00103-encountered-the-symbol-out-when-expecting-one-of-the-following-default-character-the-symbol-was-substi/#comment-76712</link>
		<dc:creator>balajidev</dc:creator>
		<pubDate>Sun, 02 May 2010 04:14:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-76712</guid>
		<description><![CDATA[Want to know the solution for the same as i too face same sort of issue]]></description>
		<content:encoded><![CDATA[<p>Want to know the solution for the same as i too face same sort of issue</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.039 seconds using memcached
Object Caching 337/343 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 10:07:17 -->