Microstructural studies of REBa2Cu3Oy superconductors and a process for their near net shape fabrication