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.

Examples<br />

v TAKE LAST can affect per<strong>for</strong>mance because it must process the entire input<br />

stream, be<strong>for</strong>e it is able to send the LAST messages selected to the output<br />

stream.<br />

Example: Selecting and Displaying the Last Message<br />

To issue the VTAM command DISPLAY NET,APPLS, allow 10 seconds <strong>for</strong> each<br />

asynchronous message to return to the pipeline from VTAM, terminate the wait<br />

early (TAKE 2), select the last message (TAKE LAST 1), and display the message,<br />

enter:<br />

PIPE VTAM DISPLAY NET,APPLS<br />

| CORRWAIT 10<br />

| TAKE 2<br />

| TAKE LAST 1<br />

| CONSOLE<br />

PIPE TAKE<br />

Chapter 2. Pipeline Stages and Syntax 235

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

Saved successfully!

Ooh no, something went wrong!