Is there a way to trap the error/warning messages when using pipes
(specifically pipes under TSO REXX)

I'm starting with something trivial:

'pipes listcat' hlq '| stem hlq.'

If there is nothing found for the value of hlq I get these messages:

BPW00730E No data sets found matching xxx
BPW00003I ... Issued from stage 1 of pipeline 1
BPW00001I ... Running "listcat xxx"

I don't really need these error messages as the stem (hlq.) will have either
a hlq.0 = 0 or nothing.

Please advise

Thank you


Lionel B. Dyck <><
Website: https://www.lbdsoftware.com
Github: https://github.com/lbdyck

"Worry more about your character than your reputation. Character is what you
are, reputation merely what others think you are."   - - - John Wooden

Reply via email to