(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 NETSTAT command. Code: PIPE CMS NETSTAT TELNET | stem myStem. There two files with the name NETSTAT, one is a MODULE the other an EXEC. When I run It from a CMS session, the EXEC gets invoked but when I run it from and EXEC I wrote containing the PIPE command above it seems to invoke the MODULE. Is that the way PIPES work? I thought the CMS param set the environment. Any thoughts? Thanks, Steve
