you may try with SELECT ... FOR UPDATE.

RPower@xxxxxxxxxx wrote:

>Can anyone help me with understanding what I need to do to use Java and 
>SQL to put a record lock on a database file on the iSeries?  I'm using 
>Java to create a web based application that will allow users to update, 
>review, change and delete records pertaining to our hardware maintenance 
>program.  I'm at a loss to do this, cause I'm not sure how SQL/Java locks 
>records in DB2?  Thanks,
>Ron Power
>Information Services
>City Of St. John's, NL
>P.O. Box 908
>St. John's, NL
>A1C 5M2
>Success is going from failure to failure without a loss of enthusiasm. - 
>Sir Winston Churchill

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page