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.

Note: If you attempt to write a /string/ to a panel that does not have unprotected<br />

fields, the /string/ is ignored, but the action key is processed. DSRBS is an<br />

application that presents panels that do not have unprotected fields.<br />

For example, STATMON running on a V<strong>OS</strong>T displays:<br />

STATMON.DSS DOMAIN STATUS SUMMARY (REFRESH=ON) 10:50 A<br />

H<strong>OS</strong>T: H<strong>OS</strong>T126 *1* *2* *3* *4*<br />

ACTIVE PENDING INACT MONIT NEVACT OTHER<br />

.....1 NCP/CA/LAN/PK .....1 ...... ...... ...... ...... ......<br />

.....1 LINES .....1 ...... ...... ...... ...... ......<br />

.....1 PUS/CLUSTERS .....1 ...... ...... ...... ...... ......<br />

.....1 LOCAL MAJ NDS .....1 ...... ...... ...... ...... ......<br />

.....5 LUS/TERMS .....5 ...... ...... ...... ...... ......<br />

.....1 APPL MAJ NDS .....1 ...... ...... ...... ...... ......<br />

....49 APPLICATIONS .....8 ...... ...... ...... .....1 ....40<br />

.....1 CDRM MAJ NDS .....1 ...... ...... ...... ...... ......<br />

...151 CDRMS .....2 ...... ...... ...... ...149 ......<br />

.....1 CDRSC MAJ NDS .....1 ...... ...... ...... ...... ......<br />

...603 CDRSCS ...302 ...... ...... ...... ...301 ......<br />

------ ------------- ------ ------ ------ ------ ------ ------<br />

...815 TOTAL NODES ...324 ...... ...... ...... ...451 ....40<br />

CMD==><br />

TO SEE YOUR KEY SETTINGS, ENTER ’DISPFK’<br />

On this panel, there are 89 unprotected fields. The fields include the command line<br />

and each of the following fields, delimited with vertical bars (|).<br />

|*1*| |*2*| |*3*| |*4*|<br />

|....1 NCP/CA/LAN/PK| |....1| |.....| |.....| |.....| |.....| |.....|<br />

|....1 LINES | |....1| |.....| |.....| |.....| |.....| |.....|<br />

|....1 PUS/CLUSTERS| |....1| |.....| |.....| |.....| |.....| |.....|<br />

|....1 LOCAL MAJ NDS| |....1| |.....| |.....| |.....| |.....| |.....|<br />

|....5 LUS/TERMS | |....5| |.....| |.....| |.....| |.....| |.....|<br />

|....1 APPL MAJ NDS | |....1| |.....| |.....| |.....| |.....| |.....|<br />

|..49 APPLICATIONS | |....8| |.....| |.....| |.....| |....1| |...40|<br />

|....1 CDRM MAJ NDS | |....1| |.....| |.....| |.....| |.....| |.....|<br />

|..151 CDRMS | |....2| |.....| |.....| |.....| |..149| |.....|<br />

|....1 CDRSC MAJ NDS| |....1| |.....| |.....| |.....| |.....| |.....|<br />

|..603 CDRSCS | |..302| |.....| |.....| |.....| |..301| |.....|<br />

|..815 TOTAL NODES | |..324| |.....| |.....| |.....| |..451| |...40|<br />

The following REXX program written to interact with this panel requests a<br />

STATMON detail panel on NCP/CA/LAN/PK. An end user places a nonblank<br />

character in the first field of the NCP/CA/LAN/PK line on summary panel. To do<br />

so in a full-screen automation REXX program, code:<br />

NETVIEW VET 4.2 /X/<br />

This command positions the cursor at the 4th row and 2nd column, places an X in<br />

that column, and presses the Enter key. You can also code the following lines in<br />

your REXX program:<br />

input. = ’<br />

input.5 = ’X’<br />

input.0 = 5<br />

PIPE (NAME REQNCP)<br />

| STEM input.<br />

| VET 1.1<br />

Full-Screen Automation<br />

Chapter 5. Full-Screen Automation 323

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

Saved successfully!

Ooh no, something went wrong!