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.

Examples<br />

any VET command with a PF or PA action key. Instead of specifying a PF or PA<br />

key, place the required command in /string/ and use ENTER <strong>for</strong> the action key.<br />

For example, code NETVIEW VET /RETURN/ ENTER instead of VET PF3.<br />

v After a V<strong>OS</strong>T terminates, the <strong>NetView</strong> program retains the last data transmitted<br />

by the application that was running on the V<strong>OS</strong>T <strong>for</strong> up to 5 minutes. A VET<br />

NEXT obtains this data as though the application was still active. After the last<br />

transmitted data has been obtained by VET, an additional VET NEXT obtains no<br />

data and a VET CURRENT returns a blank screen.<br />

v VTAM commands are not supported on a V<strong>OS</strong>T. The MVS command must be<br />

used to issue VTAM commands on a V<strong>OS</strong>T.<br />

v The line count attribute is set in BNH150I <strong>for</strong> VET ROWS output. This line count<br />

value can only be used by the EDIT pipe stage.<br />

The BNH150I label line has LINECOUNT=0 and all other lines are numbered 1<br />

through 24 corresponding to their line number on the virtual screen. An example<br />

use <strong>for</strong> the line count data is in determining the line where certain data was<br />

found. This can be done in pipeline processing using LOCATE and the line<br />

count.<br />

Example: Request Current Screen<br />

The following VET stage specification requests the current view of the application<br />

panel running on the V<strong>OS</strong>T named MYV<strong>OS</strong>T. The screen data is to be returned in<br />

ROWS <strong>for</strong>mat.<br />

PIPE VET CURRENT ROWS NAME MYV<strong>OS</strong>T | ...<br />

Example: Writing Data to a V<strong>OS</strong>T<br />

This example writes FORWARD to the command line, which in the application<br />

running on V<strong>OS</strong>T MYV<strong>OS</strong>T is found at row 24 column 8. The default action key<br />

ENTER is assumed.<br />

VET 24.8 /FORWARD/ NAME MYV<strong>OS</strong>T<br />

Example: Writing Multiple Lines to a V<strong>OS</strong>T<br />

Null values <strong>for</strong> /string/ can be used to tab through fields. The following example<br />

shows a stem variable containing five values. The first four are null and the fifth<br />

contains an X. The following REXX fragment places nothing in the first four<br />

unprotected fields, an X in the fifth, and uses Enter <strong>for</strong> the action key.<br />

input. = ’<br />

input.5 = ’X’<br />

input.0 = 5<br />

PIPE (NAME REQNCP)<br />

| STEM input.<br />

| VET 1.1<br />

PIPE VET<br />

Chapter 2. Pipeline Stages and Syntax 265

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

Saved successfully!

Ooh no, something went wrong!