28.11.2012 Views

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PIPE FANIN<br />

126 <strong>Programming</strong>: <strong>Pipes</strong><br />

Unlike the FANINANY example, under “Example: Process a List of Names” on<br />

page 127, this example uses FANIN.<br />

PIPE (END ¬) < NAMELIST<br />

|A:LOCATE /SMITH/<br />

|CHANGE /TOMMY/TOM/ PRIMARY FANIN INPUT STREAM<br />

|B:FANIN<br />

|STEM NAMES.<br />

¬A:<br />

|C:LOCATE /BAKER/<br />

|CHOP 22<br />

|B: SECONDARY FANIN INPUT STREAM<br />

¬C:<br />

|B: TERTIARY FANIN INPUT STREAM<br />

Note: The double connector C:|B: is used to connect the secondary output of<br />

LOCATE /BAKER/ to the tertiary input of FANIN.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!