<div>Dear Gurus,</div>
<div> </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> </div>
<div>The procedure call code is as follows</div>
<div> </div>
<div> sql in cwdb transaction update &<br> call CreateJob (JNAME, JOBDESC, QZNAME , STEPEXECSEQ, PROGTYPE &<br> PHDICT, QZPROG, QZPARMFILE, OKTOSTREAM, RUNATONCE,USEPARMFILE, USERID, SQLSPMESSAGE OUT ) &
<br> ON ERROR CONTINUE <br> </div>
<div>I'd appreciate any help at the earliest in solving this issue.</div>
<div> </div>
<div>Regards,</div>
<div>SYED.</div>