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.

Consider each stage in the PIPE to determine how the required four lines are<br />

selected and returned.<br />

Processing steps:<br />

1. PIPE (NAME GETCONFG) starts the pipeline and gives the pipeline the name<br />

GETCONFG.<br />

2. VET NEXT ROWS returns the screen image shown in Figure 16 on page 316 to<br />

the pipeline in the following multiline message:<br />

BNH150I ROWS/NEXT OUTPUT FOR ’’ RECEIVED FROM MDMCNFG<br />

NETVIEW NCF01 OPER1 11/16/10 11:55:13<br />

* BROWSE CHANGEABLE 7861 CONFIGURATION PARAMETERS *<br />

ID = NCP1 STATION = TERM4 MODEM = REMOTE LEVEL = 1<br />

BASIC MODEM CONFIGURATION<br />

SPEED CONTROL MODE M (M=MODEM, D=DTE)<br />

TRAINING SEQUENCE L (L=LONG, S=SHORT)<br />

CONFIGURATION P (M=MULTI-POINT, P=POINT TO POINT)<br />

NETWORK FUNCTION C (C=CONTROL/PRIMARY, S=SECONDARY)<br />

ANTISTREAMING N (Y=YES, N=NO)<br />

TRANSMIT CLOCK OPTION E (I=INTERNAL, E=EXTERNAL, R=RECEIVE)<br />

COMPLEMENTARY RFS DELAY 0 MS (0 TO 250 IN 10MS INCREMENTS)<br />

DEFAULT SPEED F (F=FULL, B=BACKUP)<br />

LOCAL LOOP BACK WRAP N (Y=YES, N=NO)<br />

CUSTOMER INFORMATION (10 CHARACTER LIMIT)<br />

ALARM THRESHOLDS<br />

RECEIVE LEVEL THRESHOLD -43 DBM (-43 to 0)<br />

IMPULSE HITS THRESHOLD 21 (0 TO 63)<br />

LINE QUALITY THRESHOLD 10 (0 TO 14)<br />

HIT ENTER TO END COMMAND<br />

Figure 17. Example of Screen Returned <strong>for</strong> VET NEXT ROWS<br />

Full-Screen Automation<br />

The BNH150I message indicates the type of VET command used in the PIPE<br />

and provides in<strong>for</strong>mation about the attached command. The ROWS/NEXT<br />

<strong>for</strong>mat returns the panel in the <strong>for</strong>mat as it is displayed on an operator's screen.<br />

More in<strong>for</strong>mation on BNH150I can be found in “Handling Returned Messages”<br />

on page 324. Also, see the VET command in<strong>for</strong>mation in “Interacting with<br />

Virtual <strong>OS</strong>Ts” on page 320.<br />

3. CORRWAIT 60 causes the pipeline to wait up to 60 seconds <strong>for</strong> MDMCNFG to<br />

build its panel on the virtual screen. The wait ends when MDMCNFG is ready<br />

to receive input.<br />

4. SEPARATE changes the multiline message returned by VET into multiple<br />

single-line messages.<br />

5. NOT T<strong>OS</strong>TRING /ALARM THRESHOLDS/ discards all lines up to the line<br />

containing the string /ALARM THRESHOLDS/.<br />

6. T<strong>OS</strong>TRING NOINCL /HIT ENTER/ selects all remaining lines of the panel up<br />

to, but not including, the line containing the string /HIT ENTER/.<br />

7. In Figure 18 on page 318 the selected lines are written to the CONSOLE.<br />

8. The REXX EXEC terminates and the virtual screen running MDMCNFG is<br />

automatically detached.<br />

Chapter 5. Full-Screen Automation 317

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

Saved successfully!

Ooh no, something went wrong!