On Thu, 13 Jul 2006 18:34:59 +0200, Kris Buelens <[EMAIL PROTECTED]
> 
wrote:

>For longer pipes, I try to put sections close together, using an extra 

>FANOUT (labeled STEP2 below).

>Applied to your sample:
>
>  'PIPE (ENDCHAR ?)',
>  ... /* some stream of records */
>  '| p: PICK ...
>  '| t: TAKE ...
>   ...  /* only the records that pass all the filters come here */
>  '|STEP2: Fanout',  /* pass everything down to STEP 2 */
>  '?p:|f:',
>  '?',
>  't:',
>  '| f: FANINANY',
>  ,/* Ready to execute STEP 2 -----------------*/
>  '?STEP2:',
>  ....

Are you sure you use this structure?  Label "f:" can't be referenced 
before it has been declared on the FANINANY?

The following gets an "FPLSCA046E Label f not declared" error:

/* */
'PIPE (ENDCHAR ?)',
  '< PROFILE EXEC A',
  '| p: PICK 2.3 == /set/',
  '| t: TAKE 1',
  '| STEM passed.',
  '| STEP2: Fanout',
  '? p:|f:',
  '?',
  't:',
  '| f: FANINANY',
  '| STEM skipped.',
  '? STEP2:',
  '| STEM other.'


Brian Nielsen

Reply via email to