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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Examples<br />

v The color and highlighting settings can be overridden by message automation.<br />

To ensure that you get the settings you have specified, use CONSOLE ONLY or<br />

WINDOW to display your messages.<br />

Example: Changing Color of Selected Data<br />

In this example, data is read from a file called NAMES. LOCATE selects all the<br />

lines containing the string /BOB/. The selected lines are output to the console in<br />

red. All other names are output to the console in blue.<br />

PIPE (END %)<br />

< NAMES<br />

|A: LOCATE /BOB/<br />

|COLOR RED<br />

|CONSOLE<br />

%A:<br />

|COLOR BLUE<br />

|CONSOLE<br />

PIPE PRESATTR<br />

Chapter 2. Pipeline Stages and Syntax 195

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

Saved successfully!

Ooh no, something went wrong!