HI Karthik,
Errr..... can you help me understand the use case for manipulating the WONUM value? Have you removed the AUTONUM feature and are you setting it according to some business rule? For the better part of almost three decades now, most customers will accept the AUTONUM feature. Many will also include a prefix value to ensure separation of SITE based WONUM. Other than that, please help me understand a) what you are trying to do technically, and b) why you would want to spend the effort doing so. Have I understood your request correctly?
Also, I would never use rowstamp to fetch or update a record. That value is changed each time you touch the record, making it unreliable.
------------------------------
Bradley K. Downing , MBA
Senior Brand Technical Specialist
IBM
Bakersfield CA
------------------------------