i have created a number range in snro called J_1IEXCLOC.
I also have a table called J_1IEXCHDR with a field called EXNUM.
now i have to check whether the current numner of the number range object is equal to the last number updated in the EXNUM field of the table J_1IEXCHDR.
CAN u tell me the coding part for it like how to do it?