Frank:
"FOR" needs an aditional setup. Or you will get the HCP070E msg.

My test:

FOR TCPIP CMD CP CLOSE CON
HCPFOR070E You are not authorized to act FOR TCPIP
Maint(00070); T=0.01/0.01 17:09:42
m op cmd for TCPIP CMD CP CLOSE CON
Maint; T=0.01/0.01 17:09:49
 HCPFOR070E You are not authorized to act FOR TCPIP

See the msg help:

HCP070E   You are not authorized to act FOR userid
Explanation:  If an external security manager (ESM) is installed, you must
be
authorized by the ESM to use the FOR command. If an ESM is not installed,
you
must be authorized as the secondary user on the CONSOLE statement in the
directory entry of the target virtual machine. You may also be authorized
as a
result of the target virtual machine's use of the CP SET SECUSER command.
System Action:  The FOR command is not executed. System operation
continues.
User Response:  Acquire the necessary authorization or privilege level in
order to issue the FOR command.


Regards, Clovis.


|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Frank M. Ramaekers" <[email protected]>                                 
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                      
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |18/08/2010 16:41                                                             
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: Closing the console on TCPIP                                             
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |The IBM z/VM Operating System <[email protected]>                      
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





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.

Inactive hide details for "Wandschneider, Scott" ---18/08/2010
16:16:45---Does anybody have a way of "closing" the console spoo
"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