<div>Dear Gurus,</div>
<div>&nbsp;</div>
<div>From a SCREEN of Axiant 4GL/ PH 4GL/ WINDOWS, I am calling a SQL SERVER 2000 stored procedures to create sql jobs.</div>
<div>Even though the procedure execution completes successfully, the tables that are updated by the procedure, gets locked and doesn't get released until I quit the screen that call the sp and also the previous screen.</div>

<div>In fact the SQL server process that is created for executing the stored procedure doesn't end.</div>
<div>It is blocking the other processes that try to read the locked tables.</div>
<div>I'm calling the procedure from the update procedure.</div>
<div>&nbsp;</div>
<div>The procedure call code is as follows</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sql in cwdb transaction update&nbsp;&nbsp; &amp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call CreateJob (JNAME, JOBDESC, QZNAME , STEPEXECSEQ, PROGTYPE &amp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PHDICT, QZPROG, QZPARMFILE, OKTOSTREAM, RUNATONCE,USEPARMFILE, USERID, SQLSPMESSAGE OUT )&nbsp; &amp;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ON ERROR CONTINUE&nbsp;&nbsp;<br>&nbsp;</div>
<div>I'd appreciate any help at the earliest in solving this issue.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>SYED.</div>