Aid the Pipe Guidance the pipe above and below with riser clamps so it are unable to fall or sway as you work, and so the PVC fitting will likely not have to bear the burden in the drain. You probably will need to setup a whole new stud or https://www.malleableiron-pipefitting.com/industry-knowledge/how-to-connect-non-threaded-galvanized-pipes.html