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 BETWEEN<br />

NOINCL<br />

Specifies that the message or messages that match the first string and, if<br />

specified, the second string is not included in the primary output.<br />

number<br />

Specifies a message count to be included in the selected section.<br />

pos.len<br />

Specifies the character position and length within each message where<br />

searching begins. When you specify a wild card (*) <strong>for</strong> len, the remainder of<br />

each line is searched. When you do not specify pos.len, each entire line is<br />

searched. You can specify the letter S <strong>for</strong> the length if the specification is<br />

followed by a delimited string. The BETWEEN stage replaces the letter with<br />

the length of that delimited string.<br />

/1st string/<br />

A delimited string that specifies the string to be found that begins a selected<br />

section. This parameter is required and can be used with /2nd string/ or number.<br />

NOT<br />

Indicates that a break occurs if the specified string is not found.<br />

/2nd string/<br />

A delimited string that specifies the string to be found that ends a selected<br />

section.<br />

Usage Notes<br />

The BETWEEN stage examines only the first line of multiline messages. Specifying<br />

the SEPARATE stage be<strong>for</strong>e BETWEEN causes all lines to be examined.<br />

Examples<br />

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

Example: Dividing Messages<br />

The following divides a message stream into groups, as shown in the sample<br />

output:<br />

PIPE < CNMPNL1.CNM63<br />

| BETWEEN 1.5/:XMP./1.6/:EXMP./<br />

| CONSOLE<br />

:XMP.<br />

CNM630I NETVIEW SUBSYSTEM INTERFACE IS NOT INITIALIZED<br />

:EXMP.<br />

:XMP.<br />

CNM631I NETVIEW PROGRAM TO PROGRAM INTERFACE IS ACTIVE ON xxxx<br />

:EXMP.<br />

:XMP.<br />

CNM632I NETVIEW PROGRAMTO PROGRAM INTERFACE IS BEING TERMINATED<br />

:EXMP.

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

Saved successfully!

Ooh no, something went wrong!