How can I replace cast iron sewer drain that goes through the basement wall?
are you talking about an outside wall?  I only see one semi question relating to flush cutting the existing pipe.  Fernco or similar fittings can make the connection, but they need a portion of the pipe to make the connection