<div>Thank you Peter for your suggestion.</div>
<div>&nbsp;</div>
<div>It didn't solve the issue.</div>
<div>However, when I commented out some code from the sql stored procedure, the problem seems to have disappeared. I'll do some research in the sp. </div>
<div>&nbsp;</div>
<div>In the meanwhile if you can think of some tips, I'll appreciate.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>SYED.</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 1/19/06, <b class="gmail_sendername">Peter Bateman</b> &lt;<a href="mailto:pfbcs@hotmail.com">pfbcs@hotmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I would try after calling my procedure<br>COMMIT UPDATE<br><br>Regards,<br>Peter<br><br><br>&gt;<br>&gt;Dear Gurus,
<br>&gt;<br>&gt; &gt;From a SCREEN of Axiant 4GL/ PH 4GL/ WINDOWS, I am calling a SQL SERVER<br>&gt;2000<br>&gt;stored procedures to create sql jobs.<br>&gt;Even though the procedure execution completes successfully, the tables that
<br>&gt;are updated by the procedure, gets locked and doesn't get released until I<br>&gt;quit the screen that call the sp and also the previous screen.<br>&gt;In fact the SQL server process that is created for executing the stored
<br>&gt;procedure doesn't end.<br>&gt;It is blocking the other processes that try to read the locked tables.<br>&gt;I'm calling the procedure from the update procedure.<br>&gt;<br>&gt;The procedure call code is as follows
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sql in cwdb transaction update&nbsp;&nbsp; &amp;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;call CreateJob (JNAME, JOBDESC, QZNAME , STEPEXECSEQ, PROGTYPE &amp;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PHDICT, QZPROG, QZPARMFILE, OKTOSTREAM, RUNATONCE,USEPARMFILE,
<br>&gt;USERID, SQLSPMESSAGE OUT )&nbsp;&nbsp;&amp;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON ERROR CONTINUE<br>&gt;<br>&gt;I'd appreciate any help at the earliest in solving this issue.<br>&gt;<br>&gt;Regards,<br>&gt;SYED.<br><br><br>&gt;--<br>&gt;= = = = = = = = = = = = = = = = = = = = = = = = = = = =
<br>&gt;Mailing list: <a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>&gt;Subscribe: &quot;subscribe&quot; in message body to <a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com
</a><br>&gt;Unsubscribe: &quot;unsubscribe &lt;password&gt;&quot; in message body to<br>&gt;<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>&gt;<a href="http://lists.sowder.com/mailman/listinfo/powerh-l">
http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>&gt;This list is closed, thus to post to the list you must be a subscriber.<br><br>_________________________________________________________________<br>Take charge with a pop-up guard built on patented Microsoft&reg; SmartScreen
<br>Technology<br><a href="http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=http://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines">http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=http://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines
</a><br>Start enjoying all the benefits of MSN&reg; Premium right now and get the<br>first two months FREE*.<br><br>--<br>= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>Mailing list: <a href="mailto:powerh-l@lists.sowder.com">
powerh-l@lists.sowder.com</a><br>Subscribe: &quot;subscribe&quot; in message body to <a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>Unsubscribe: &quot;unsubscribe &lt;password&gt;&quot; in message body to 
<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br><a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>This list is closed, thus to post to the list you must be a subscriber.
<br></blockquote></div><br>