All of the commands except for NETSTAT require command class authorization, 
class C is the common denominator.  With class C, there is no need to be 
secuser for the target id. NETSTAT does not get off free. It requires obey 
command authorization in order to use command operands.

Choose your poison. There are 3 different single commands that do the trick - 
FOR, SEND CP, and NETSTAT.


Regards,
Richard Schuh





________________________________
From: The IBM z/VM Operating System [mailto:[email protected]] On Behalf 
Of Frank M. Ramaekers
Sent: Wednesday, August 18, 2010 12:49 PM
To: [email protected]
Subject: Re: Closing the console on TCPIP

What about "FOR TCPIP CMD CP CLOSE CON"?   No need for SET SECUSER.



Frank M. Ramaekers Jr.





________________________________
From: The IBM z/VM Operating System [mailto:[email protected]] On Behalf 
Of [email protected]
Sent: Wednesday, August 18, 2010 2:36 PM
To: [email protected]
Subject: Re: Closing the console on TCPIP


Hi,
I use 'CP SEND CP TCPIP CLOSE CONS'
No need to set SECUSER.
It was configured into PROP as part of the Midnight process (HCPMID6001I msg) , 
to close all consoles daily.

Regards, Clovis.

[cid:[email protected]]"Wandschneider, Scott" 
---18/08/2010 16:16:45---Does anybody have a way of "closing" the console spool 
file for a running, active TCPIP guest. I hav

From:


"Wandschneider, Scott" <[email protected]>


To:


[email protected]


Date:


18/08/2010 16:16


Subject:


Closing the console on TCPIP


Sent by:


The IBM z/VM Operating System <[email protected]>

________________________________



Does anybody have a way of "closing" the console spool file for a running, 
active TCPIP guest.

I have tried the following, no errors but it does not close the file.

/* */
'CP SET SECUSER TCPIP *'
Sleep 02 sec
'CP SEND TCPIP CP SPOOL CONSOLE CLOSE'
Sleep 02 sec
'CP SET SECUSER TCPIP RESET'
Exit

Thank you,
Scott R Wandschneider
:847.849.7223  ||  : [email protected] **Think Green  - 
Please print responsibly***: 402.963.8905 || *Senior Systems Programmer|| 
Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 
68154-4457||


_____________________________________________________ This message contains 
information which is privileged and confidential and is solely for the use of 
the intended recipient. If you are not the intended recipient, be aware that 
any review, disclosure, copying, distribution, or use of the contents of this 
message is strictly prohibited. If you have received this in error, please 
destroy it immediately and notify us at [email protected].

Reply via email to