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.

PIPE INSTORE<br />

PIPE INSTORE<br />

Syntax<br />

INSTORE:<br />

Synonyms<br />

INSTORE ddname.membername COMMON<br />

LOCAL<br />

NOREPLACE<br />

REPLACE<br />

Stage Operands Synonym<br />

REPLACE REPL<br />

NOREPLACE NOREPL<br />

NOCRYPTO<br />

CRYPTO<br />

Command Description<br />

The INSTORE stage adds, deletes, or replaces in-storage members. The members<br />

are then read from storage rather than the disk by DSIDKS disk services or any<br />

<strong>NetView</strong> process based on DSIDKS such as BROWSE or the < stage.<br />

Streams<br />

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

If INSTORE is the first stage, the named member is unloaded from storage and<br />

usage is reverted to reading it from disk. Otherwise, the input message lines are<br />

used to load the named member into storage. The member is not read from disk<br />

be<strong>for</strong>e loading. To read a member be<strong>for</strong>e loading it, place the < stage be<strong>for</strong>e<br />

INSTORE.<br />

Note that the STRIP stage can save storage. For example, STRIP TRAILING results<br />

in the data being loaded without trailing blanks, which are then padded back to a<br />

minimum of 80 characters when the data is read. Null input message lines become<br />

blank lines when accessed. If no messages are input, the member is not found by<br />

DSIDKS FIND processes. See the INSTORE examples section <strong>for</strong> coding samples.<br />

Stream Type Number Supported<br />

Input 2<br />

Output 2<br />

Primary and secondary I/O streams can be defined. The primary input stream<br />

loads, unloads, or replaces in-storage members and its output to the primary<br />

output stream is unchanged. A secondary input stream can be defined if the<br />

pipeline application requires the ability to monitor the data being read into<br />

INSTORE. If INSTORE detects a message on its secondary input stream, it<br />

terminates with return code 12 and the data is not loaded.<br />

If a secondary output stream is defined, a signed, ten digit decimal return code is<br />

written to the secondary output.<br />

+0000000000 member loaded or unloaded successfully<br />

+0000000008 member already loaded and REPLACE not specified<br />

+0000000012 INSTORE terminated by secondary input request

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

Saved successfully!

Ooh no, something went wrong!