--> Running this:
* * * Top of File * * *
/* */
'vmfclear'
address command 'PIPE COMMAND NETSTAT TELNET | stem telnet.'
'Pipe stem telnet. | >> netstat query a'
exit
--> Results in this:
* * * Top of File * * *
DTCNET103E Invalid parameter: EXEC
VM TCP/IP Netstat Level 540 TCP/IP Server Name: TCPIP
Active IPv4 Telnet server connections:
Conn Status Foreign Host B out B in Logical device status
---- ------ ------------ ----- ---- ---------------------
1273 Establshd 10.53.1.31 124040 906 L0003 LOGON AS ACAA05
1172 Establshd 10.53.1.15 28857 733 L0004 LOGON AS XAOPER
.
.
.
</results in this>
Replacing "stem telnet." With "browse" does not display the DTCNET103E
message. The browse is useful but I intend to do further processing with
the stem
Steve
-----Original Message-----
From: The IBM z/VM Operating System [mailto:[email protected]] On
Behalf Of Rob van der Heij
Sent: Tuesday, July 14, 2009 3:19 AM
To: [email protected]
Subject: Re: NETSTAT and PIPES
On Tue, Jul 14, 2009 at 3:52 AM, Feller, Paul<[email protected]>
wrote:
> Is this what you are trying to do?
>
>
>
> 'pipe command NETSTAT TELNET | stem sve1.'
>
> 'pipe stem sve1. | > sve TEXT A'
>
> 'browse sve TEXT A'
If so, then it is probably more practical to do - straight from the
command line
pipe command NETSTAT TELNET | browse