If you can saw/cut the pipe, leaving some solid remnant:
If you have to remove the entire length all the
way into the next hub:
It may be possible to remove the cleanout cover
and then install a threaded adapter, but the
angle may be wrong, etc.
HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.