Capturing an error.

I’ve made a dynamically ‘stow’ command (via sysext procederure) and I can’t capture an error from that stow.
How to do that?

You may want to check your SYNERR parm, it may be preventing your default error handler from capturing syntax errors.