If you have access to the user's LOGONBY profile in the SURROGAT class, you can issue the FOR command.
I didn't think there was any point in requiring separate authorization for LOGON BY and FOR. And with or without RACF, if you are the current secuser you can issue FOR. (Yes, the ESMs provide more functionality than CP by himself.) Regards, Alan Altmark IBM Lab Services ----------------- Sent from my BlackBerry Handheld. ----- Original Message ----- From: "Martin, Terry R. (CMS/CTR) (CTR)" [terry.mar...@cms.hhs.gov] Sent: 04/20/2011 04:13 PM AST To: IBMVM@LISTSERV.UARK.EDU Subject: Re: [IBMVM] Detaching A disk from z/Linux guest dynamically Thanks Tom I was just about to ask this question because I have a bunch of guests that I need to change. Now I tried the FOR command and received this: HCPFOR070E - Basically it is an authorization issue with the FOR command. We are running RACF here so do you know what the profile would be and what RACF class would need to be activated to define and permit this resource? Can I also do this via the SECUSER command? Thank You, Terry Martin Lockheed Martin CMS - CITIC 3300 Lord Baltimore Drive, Suite 200, 21244 Engineering Computing Mainframe Support Cell - 443 632-4191 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tom Huegel Sent: Wednesday, April 20, 2011 2:37 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Detaching A disk from z/Linux guest dynamically Since these are CP commands use FOR command and avoid logging on the LINUX machine. FOR linuxname CMD DET 191 FOR linuxname CMD LINK * 191 191 MR On Wed, Apr 20, 2011 at 8:45 AM, David Boyes <dbo...@sinenomine.net<mailto:dbo...@sinenomine.net>> wrote: If the 191 is only used at Linux boot, you can change the directory entry and then login to the VM userid running the Linux system and: BEGIN (if you get a CP READ) #CP DET 191 #CP LINK * 191 191 MR #CP DISC (assuming your LINEND char is #) If you are actually using the disk during runtime, then it's a lot safer to bounce the guest. -- db From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU<mailto:IBMVM@LISTSERV.UARK.EDU>] On Behalf Of Martin, Terry R. (CMS/CTR) (CTR) Sent: Wednesday, April 20, 2011 10:22 AM To: IBMVM@LISTSERV.UARK.EDU<mailto:IBMVM@LISTSERV.UARK.EDU> Subject: Detaching A disk from z/Linux guest dynamically Hi I have a copy of the DASD volume where the A (191) disk resides for a specific z/Linux guest. I want to point the guest to the new copied volume from the one it is currently using without bringing the guest down. Is there a way to do this? Thank You, Terry Martin Lockheed Martin CMS - CITIC 3300 Lord Baltimore Drive, Suite 200, 21244 Engineering Computing Mainframe Support Cell - 443 632-4191<tel:443%20632-4191>