That was it! Thanks for the tip Glenn!
 
> Date: Fri, 16 Apr 2010 10:11:45 -0400
> From: [email protected]
> Subject: Re: [CMS-PIPELINES] Coding a user-written pipeline to understand NOT
> To: [email protected]
> 
> On Fri, 16 Apr 2010 08:51:26 -0500, Mark Wheeler wrote:
> >signal on error 
> > 
> >do forever 
> > 'PEEKTO input_record' /* Peek at the input record */ 
> > if input_record = test_value then /* Simplistic */ 
> > do 
> > 'SELECT OUTPUT 0'; 'OUTPUT' input_record 
> 
> You're killing the stage as soon as you see a nonzero return code, but
> you've never tested whether the primary output is connected, so it dies
> as soon as you write to it. You can do just the same as you did for the
> alternate, testing with STREAMSTATE at the beginning and writing to it
> only if it was initially connected.
> 
> ¬R // Failing is not just for failures, it's \\ users.bestweb.net/~notr
> for everyone. Failures just have more experience. \\ iamlistener.com
                                          
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4

Reply via email to