I didn't throw a deep look into the pipe to fully get the topology.  I 
just want to give the idea: insert a FANOUT at some places and you can 
split a long pipe in logical sections that fit more or less on a 3270 
display.

Kris,
IBM Belgium, VM customer support
> >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