Re: [CMS-PIPELINES] Capturing output from a pipe

2015-07-20 Thread Paul Gilmartin
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

Re: [CMS-PIPELINES] Capturing output from a pipe

2015-07-20 Thread Paul Gilmartin
On 2015-07-20 12:04, Gentry, Steve wrote: 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. If the SQL pipe is embedded in an EXEC, you should be able to SPOOL

Re: [CMS-PIPELINES] Capturing output from a pipe

2015-07-20 Thread Rob Van der Heij
In general, you would do the pipe under runpipe to capture the messages. If it's more something ad-hoc, I tend to run the program again through the command stage, like pipe command PIPETEST | msgs txt a Rob --- Rob van der Heij z/VM Development, CMS Pipelines From: Gentry, Steve

[CMS-PIPELINES] Capturing output from a pipe

2015-07-20 Thread Gentry, Steve
I'm running the following pipe: 29 *-* 'pipe', 'sql select TABLETYPE', 'from system.syscatalog', where creator='SYSTEM', AND TNAME='SYSCATALOG', '|not chop 2', '|change /V/1/', '|change /R/0/',

Re: [CMS-PIPELINES] Capturing output from a pipe

2015-07-20 Thread Gentry, Steve
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

Re: [CMS-PIPELINES] Capturing output from a pipe

2015-07-20 Thread Michael Harding
CMSTSO Pipelines Discussion List CMS-PIPELINES@VM.MARIST.EDU wrote on 07/20/2015 11:14:32 AM: From: Paul Gilmartin paulgboul...@aim.com To: CMS-PIPELINES@VM.MARIST.EDU Date: 07/20/2015 11:14 AM Subject: Re: Capturing output from a pipe Sent by: CMSTSO Pipelines Discussion List

Re: [CMS-PIPELINES] Capturing output from a pipe

2015-07-20 Thread Gentry, Steve
Correct, sort of. I want to programmatically capture those messages. I just did a cut-n-paste from the console log to the email to show as an example. -Original Message- From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Michael Harding Sent: