How to save UMAT calculations to a text file

Hello guys. I have a question. Is it possible to save some calculations from UMAT, specifically the rotation matrix in umat_single_crystal, to a text file? I tried modifying the UMAT itself and added code to do so, but it isn’t working. I also tried writing it to the console, but nothing happened. Also is there single crystal umat with fcc crystal system?