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

Usage Notes<br />

Examples<br />

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

v ENVDATA must be the first stage.<br />

v The numbers in output do not include leading zeros.<br />

Example: Capturing Environment Data<br />

The following example captures environment data in variables inside a REXX<br />

procedure.<br />

Coded as a REXX example:<br />

---> 32<br />

---> 80<br />

'PIPE ENVDATA',<br />

' | NOT CHOP 13',<br />

' | VAR ROWS COLS’<br />

SAY ROWS<br />

SAY COLS<br />

Example: Capturing Genealogy Data<br />

The following ENVDATA output shows the genealogy of a user-written command<br />

NDO:<br />

SCREEN DEPTH 32<br />

SCREEN WIDTH 80<br />

COLOR COUNT 7<br />

GENEALOGY HLLCMD/PLCMDMOD NDO/CNME9999<br />

In this example, the NDO command was entered from an operator console. NDO<br />

is a CMDSYN of CNME9999, which is a REXX procedure. CNME9999 called<br />

HLLCMD as a command. HLLCMD resolves to the PL/I procedure PLCMDMOD.<br />

PLCCMDMOD was the invoker of PIPE ENVDATA.

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

Saved successfully!

Ooh no, something went wrong!