Re: NETSTAT and PIPES

2009-07-16 Thread Les Koehler
Rob, Since we used the internal CODEPRTX to produce pretty xref listings that flagged Set But Not Used and Used But Not Set and SUPERC for code reviews, we didn't use Signal On Novalue. In general, however, it is a good practice. Les Rob van der Heij wrote: On Wed, Jul 15, 2009 at 8:36 PM,

Re: NETSTAT and PIPES

2009-07-15 Thread Rob van der Heij
On Wed, Jul 15, 2009 at 8:36 PM, Les Koehler wrote: > Back before I retired, we always taught and followed these rules for Rexx: 0. signal on novalue (even when you don't bother to have a novalue: label) half of my hard rexx problems would have caught way earlier with that Rob

Re: NETSTAT and PIPES

2009-07-15 Thread Les Koehler
ng System [mailto:ib...@listserv.uark.edu] On Behalf Of Rob van der Heij Sent: Tuesday, July 14, 2009 3:19 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: NETSTAT and PIPES On Tue, Jul 14, 2009 at 3:52 AM, Feller, Paul wrote: Is this what you are trying to do? 'pipe command NETSTAT TELNET | stem sv

Re: NETSTAT and PIPES

2009-07-14 Thread Feller, Paul
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Feller, Paul Sent: Monday, July 13, 2009 9:53 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: NETSTAT and PIPES Is this what you are trying to do? 'pipe command NETSTAT TELNET | stem sve1.' 'pipe stem sve1

Re: NETSTAT and PIPES

2009-07-14 Thread Gentry, Stephen
ltmark Sent: Tuesday, July 14, 2009 9:21 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: NETSTAT and PIPES On Tuesday, 07/14/2009 at 08:53 EDT, "Gentry, Stephen" wrote: > Yes, that is what I?m trying to do and it works. That is to say the pipe doesn?t > abend or fail. What happens i

Re: NETSTAT and PIPES

2009-07-14 Thread Gentry, Stephen
d to do further processing with the stem Steve -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Rob van der Heij Sent: Tuesday, July 14, 2009 3:19 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: NETSTAT and PIPES On Tue, Jul 14, 2009 at 3:

Re: NETSTAT and PIPES

2009-07-14 Thread Alan Altmark
On Tuesday, 07/14/2009 at 08:53 EDT, "Gentry, Stephen" wrote: > Yes, that is what I?m trying to do and it works. That is to say the pipe doesn?t > abend or fail. What happens is I get different results when I run it from > an EXEC (with the PIPE command in it) vs. when I run it from the co

Re: NETSTAT and PIPES

2009-07-14 Thread Gentry, Stephen
The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Feller, Paul Sent: Monday, July 13, 2009 9:53 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: NETSTAT and PIPES Is this what you are trying to do? 'pipe command NETSTAT TELNET | stem sve1.' 'pipe

Re: NETSTAT and PIPES

2009-07-14 Thread Rob van der Heij
On Tue, Jul 14, 2009 at 3:52 AM, Feller, Paul 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

Re: NETSTAT and PIPES

2009-07-13 Thread Feller, Paul
du] On Behalf Of Gentry, Stephen Sent: Sunday, July 12, 2009 8:48 PM To: IBMVM@LISTSERV.UARK.EDU Subject: NETSTAT and PIPES (I tried to post this to the cms pipes list but it was rejected) I have a simple EXEC that pipes the output of the NETSTAT command to a stem. If I issue NETSTAT in a normal CM

Re: NETSTAT and PIPES

2009-07-13 Thread Alan Altmark
On Monday, 07/13/2009 at 02:16 EDT, "Gentry, Stephen" wrote: > Running it using your suggestions causes the following: > > [IMAGE] The listserver doesn't redistribute attachments. A plain-text copy/paste is sufficient. Alan Altmark z/VM Development IBM Endicott

Re: NETSTAT and PIPES

2009-07-13 Thread Gentry, Stephen
k.edu] On Behalf Of Kris Buelens Sent: Monday, July 13, 2009 2:24 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: NETSTAT and PIPES Coding "PIPE CMS xxx" is exactly the same as coding "address CMS ' ..." That is, CMS performs the full command resolution, and an EXEC w

Re: NETSTAT and PIPES

2009-07-13 Thread Alan Altmark
On Monday, 07/13/2009 at 12:23 EDT, "Gentry, Stephen" wrote: > I have a simple EXEC that pipes the output of the NETSTAT command to a stem. > > If I issue NETSTAT in a normal CMS session, I get the results back that I > expect. > > When run it in an EXEC containing a PIPE, I get errors from

Re: NETSTAT and PIPES

2009-07-12 Thread Kris Buelens
Coding "PIPE CMS xxx" is exactly the same as coding "address CMS ' ..." That is, CMS performs the full command resolution, and an EXEC will get selected instead of a MODULE. Therefore it is recommended to use address COMMAND and PIPE COMMAND. Even more: you should not abbreviate a CMS command,

NETSTAT and PIPES

2009-07-12 Thread Gentry, Stephen
(I tried to post this to the cms pipes list but it was rejected) I have a simple EXEC that pipes the output of the NETSTAT command to a stem. If I issue NETSTAT in a normal CMS session, I get the results back that I expect. When run it in an EXEC containing a PIPE, I get errors from the NETST