Never used any drain cleaner chemicals on any pipes here. That section drains just the toilet. There is a couple inches of space above that pipe and the pipe is almost touching a copper supply line just below it. Don't know the ph. The boys in the house do "let it mellow". Any advice for a fix?
I would not go as far as offering advice on this. I might admit to what I think
I might do. I am not a plumber. I might do things on my house that a plumber could get in trouble for doing, if I think it does not cause a safety hazard.
I might try wrapping with some tape. Self-fusing silicone tape is not cheap, and that would probably be best covered with something else.
I might try to find a flex coupling that is the right diameter and long enough. The slit long-ways what will become the top. It would be possible to use a banded coupler. Those bands usually separate. The rubber and bands would be grabbing the surviving bronze? fittings, rather than compressing on that eaten-away copper.
There is undoubtedly a right way to do the fix. I am thinking along these lines: If that is an end-of-the-line closet (toilet) flange in the right part of your photo, Get a long reach digital caliper. Harbor Freight 63714. Measure the OD on the surviving fitting. Find a coupling, or post the dimension here for a suggestion. He might also point out that if this failed, there may be downstream copper that is ready to fail, so converting more stuff to plastic now may well be a good idea. You seem to have pretty good access.
With coupler and other stuff in hand, saw away the exposed left edge of the bad copper. Use the coupler to put in a new PVC (unless you live in ABS territory) closet bend and closet flange. The selection of what that takes should be after you have identified the available coupler.
A skilled plumber who does much copper may well be able to melt out the old failed pipe, and solder something in there. For DIY, I am afraid there is potential for fire, because heating up that fitting with homeowner grade tools might take too long.
And maybe mandate more flushing on your other toilet.