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

PIPE KEEP<br />

Syntax<br />

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

►► KEEP keepname<br />

LOCAL /keep_id/<br />

GLOBAL /keep_id/<br />

exitOption:<br />

N<strong>OS</strong>PILL<br />

SPILL<br />

ENDCMD /cmd string/<br />

(note)<br />

timeout<br />

*<br />

APPEND<br />

SEIZE<br />

(note)<br />

exitOption<br />

Command Description<br />

The KEEP stage enables you to define a place to store messages. You can read<br />

from, or write to, storage defined by the keepname or keep_id. The name and<br />

message endure beyond the life of the procedure that creates them. If PIPE KEEP is<br />

the first stage, it copies messages from the KEEP into the output stream. If PIPE<br />

KEEP is not the first stage, it copies messages from the input stream into the KEEP<br />

and into the output stream.<br />

The PIPE KEEP stage is similar to the PIPE SAFE stage. PIPE KEEP enables you to<br />

define a task or place to store messages; PIPE SAFE is a place to store one or more<br />

messages associated with a command procedure.<br />

Operand Descriptions<br />

keepname<br />

A 1- to 8-character name of the KEEP. This name is case-sensitive.<br />

Note that if you use the same name as the keep_id that is specified with the<br />

LOCAL or GLOBAL specification, each KEEP that is defined is separate<br />

and distinct.<br />

LOCAL<br />

Specifies that the KEEP can be used only from the task where it is created.<br />

The KEEP is identified by the specified keep_id.<br />

GLOBAL<br />

Specifies that the KEEP can be used from any <strong>NetView</strong> task. The KEEP is<br />

identified by the specified keep_id.<br />

keep_id Specifies a delimited string that identifies the KEEP. Note that if you use<br />

the same string value with both the LOCAL and GLOBAL specifications,<br />

the two KEEPs that are defined are separate and distinct. The keep-id can<br />

be 1–255 characters in length. These can be any characters except <strong>for</strong><br />

delimiters.<br />

timeout<br />

Specifies a timeout period. If no message is added <strong>for</strong> the specified period,<br />

the KEEP is freed. Timeout can be specified only when KEEP is not a first<br />

stage. The default value of the KEEP command is 1000 (16 minutes 40<br />

seconds). The default timeout value of an existing KEEP command is the<br />

existing value. The maximum timeout value that can be specified is ten<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!