The OREF you pasted in is a %Status object, so you can manipulate it with %SYSTEM.Status methods (see the documentation). To get the information between the /* ... */ you can use ##class(%SYSTEM.Status).GetErrorText(fileComp).

Does your user have the %Developer resource?

To use the Atelier APIs your IRIS user needs %Developer. You can add this to your user via the system management portal at System > Security Management > Users.