just replace it with a ebay test pipe. The cost to weld it back will cost you more than a test pipe trust me. If you weld a catalytic converter, it woulnt have the original suppressing and gaz filtering effect anyways ...
For what vehicle ? some catalytics are incorporated in the exhaust manifold and usualy are very hard to fix, if you would like you can bring teh vehicle to our shop and I could take a look and give you some options.