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

SKIPTO is a complementary function to UPTO. Where SKIPTO 1 returns the<br />

entire line, UPTO 1 returns none of the line.<br />

See also SKIPTO and RESET.<br />

WRITELINE (global order)<br />

Is used to build a multiline message. WRITELINE causes all text built so far by<br />

the output orders to be written to the output message. All text subsequently<br />

built by the output orders is inserted as a new line in the multiline message.<br />

Note: Output orders generate an implied WRITELINE at the end of the edit<br />

script unless WRITELINE is explicitly included. An implied WRITELINE<br />

remains in effect until an explicit WRITELINE or COPYREST is<br />

encountered.<br />

Input Orders<br />

Input order operands start an edit phrase. They define the data to be processed by<br />

the edit phrase. Possible sources <strong>for</strong> the data include:<br />

v Literal text contained in the input order.<br />

v Text received on the input data stream.<br />

v Line attributes of the line received on the input data stream.<br />

v Message attributes of the message received on the input data stream.<br />

The orders, /string/, position.length, and hexstring can also be used as input orders.<br />

AIFR (input order)<br />

Specifies that the input is the 256–byte AIFR body. For additional in<strong>for</strong>mation<br />

about the AIFR fields, see <strong>IBM</strong> <strong>Tivoli</strong> <strong>NetView</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Programming</strong>: Assembler.<br />

Conversion orders, such as SUBSTR, can be used to obtain specific pieces of<br />

the AIFR.<br />

Note: The position specified in SUBSTR must be the position described in <strong>IBM</strong><br />

<strong>Tivoli</strong> <strong>NetView</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Programming</strong>: Assembler plus one (1).<br />

ALL<br />

Inputs the text in the current line. Same as 1.*.<br />

ASTYPE (input order)<br />

Indicates how the address space was started (job type):<br />

Value Description<br />

D USS persistent procedure.<br />

The address space has a name <strong>for</strong> initiated programs, appropriate <strong>for</strong> a<br />

JOB. However, the existence of an OpenMVS address space block<br />

indicates a special purpose USS persistent procedure.<br />

J The address space is a JOB.<br />

N The address space is a system address space started during operating<br />

system initialization (NIP) processing.<br />

S The address space is a Started Task (STC).<br />

Note: Because of the manner in which TN3270 is started, it may<br />

appear as type S rather than type D, as might be expected.<br />

T The address space is a Time-Sharing User (TSO).<br />

U The address space is a USS <strong>for</strong>ked or spawned procedure.<br />

Chapter 2. Pipeline Stages and Syntax 101

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

Saved successfully!

Ooh no, something went wrong!