this situation can be handled using ENQ ., it wil lock the resource which is given in ENQ command .this we need to code just before getting max id of the table .once the insert is successful on a ...
i have a situation where ID gets created by adding 1 to the max of (ID) of table. when two users creating ID at the same time will get the same ID .since two parallel cics sessions read the same ta ...