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.

Chapter 1. <strong>NetView</strong> Pipelines Introduction and General<br />

Concepts<br />

What Is a Pipeline<br />

This chapter introduces <strong>NetView</strong> pipelines. It also documents general-use<br />

programming interface and associated guidance in<strong>for</strong>mation.<br />

Note: If you are already familiar with pipeline concepts, you might want to go<br />

directly to Chapter 2, “Pipeline Stages and Syntax,” on page 19.<br />

<strong>NetView</strong> pipelines help you solve a complex problem by dividing the problem into<br />

a set of smaller, simpler steps. Each step or stage handles one part of the overall<br />

problem. PIPE stages can:<br />

v Read data from system sources, such as files on DASD or variables in command<br />

procedures.<br />

v Filter and refine the data.<br />

v Export (output) the data from the pipeline.<br />

You can connect stages in logical sequence until they collectively cover all steps<br />

required to solve your problem.<br />

You determine the function of each stage by coding a stage name as described in<br />

Chapter 2, “Pipeline Stages and Syntax,” on page 19. A stage name and its related<br />

parameters is called a stage specification.<br />

When you have completed a series of stage specifications, you can run them with<br />

the PIPE command. The PIPE command identifies the series of stage specifications<br />

you want to run and, through command parameters, controls other run<br />

characteristics to be described later. A collection of stage specifications and the<br />

instructions <strong>for</strong> connecting them is called a pipeline specification.<br />

It might help you to understand pipelines if you think of them as a plumbing<br />

pipeline. In Table 1, a <strong>NetView</strong> pipeline is compared to a common plumbing<br />

pipeline in a water treatment system:<br />

Table 1. Comparing a <strong>NetView</strong> Pipeline to a Plumbing Pipeline<br />

A Plumbing Pipeline A <strong>NetView</strong> Pipeline<br />

Receives water from some source: a reservoir Receives data from some source: a keyboard<br />

or a well.<br />

or a disk.<br />

Passes water through the system. Passes data through stages.<br />

Combines different sizes and shapes of pipes Combines different stage specifications to<br />

to per<strong>for</strong>m complex purification processes. per<strong>for</strong>m complex data refinement.<br />

Delivers purified water: to taps or showers. Delivers refined data: to other programs or<br />

storage.<br />

Keep that metaphor in mind as you read, and as you view succeeding graphic<br />

illustrations in this chapter, imagine data flowing from left to right in each<br />

diagram.<br />

© Copyright <strong>IBM</strong> Corp. 1997, 2011 1

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

Saved successfully!

Ooh no, something went wrong!