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. |------------> | From: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |"Wandschneider, Scott" <scott.wandschnei...@infocrossing.com> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |IBMVM@LISTSERV.UARK.EDU | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |18/08/2010 16:16 | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Closing the console on TCPIP | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Sent by: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU> | >--------------------------------------------------------------------------------------------------------------------------------------------------| 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 Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| : 402.963.8905 || :847.849.7223 || : scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly**