I thought of both of these: SPOOL, couldn't figure out how to do this dynamically. I'd only want to do this before this pipe starts and return it to normal after the pipe is done. HYPER: I didn't know you could do this.
-----Original Message----- From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Paul Gilmartin Sent: Monday, July 20, 2015 1:42 PM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: Capturing output from a pipe On 2015-07-20 11:34, Gentry, Steve wrote: > I'm running the following pipe: > 29 *-* 'pipe', > 'sql select TABLETYPE', > ... > > And I'm getting the errors below displayed on the console: > > FPLSQL354E Return code -1060 from SQL, detected in module SQLRR003 > ... > > I'd like to be able to capture these messages, and send them to the > appropriate person in an email. > Is it possible to do this? > o SPOOL your console -or- o Wrap the whole thing in a hyperpipe with a CMS stage and output to a stem. -- gil