plumbers,carpenters, need some help

yes, the flange is normally glued to the pipe. You may be able to get new wood under it in 2 pieces... If you could use 2 layers that are 1/2 thickness, then you can put a seam in each "repair" layer under the flange, making your seams perpendicular to each other. (one seam north-south, the other East-west)

Thanks,I thought it was. It looks like it's in good condition so I was thinking of your idea of 2 pieces. Never thought about the perpendicular idea, that's sounds good. Thinking of going to a dual flush toilet, good idea or not necessary. I think they use a different flange.