It seems backwards to me to run a shell command(mqsireportproperties) from the user exit rather than using the supposedly equivalent API (cniGetResourceProperty).
Preface: I would like to know the target database host/port. I'm using a user exit because I cannot modify existing flows. The user exit is intended to be put on existing installations for ...