>>__FOR__userid__ __________________ __ ____________________
__CMD__text__________________________________________>< |
| |_PATH__ _pathid_ _| |_TOKEN__token_value_|
|
| |_*______|
|
|
|
|
|
|
|
|
|
|______________________________________________________________________________________________________________________|
*Authorization*
Privilege Class: C, G
*Purpose*
Use FOR to execute a CP command on another virtual machine and receive the
command's responses and return code either to your terminal or over an IUCV
connection to the Asynchronous CP Command Response system
service<http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/DOCNUM/SC24-6084/HDRASYNCMD?ScrollTOP=HDRASYNCMD#HDRASYNCMD>
(*ASYNCMD)<http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/DOCNUM/SC24-6084/HDRASYNCMD?ScrollTOP=HDRASYNCMD#HDRASYNCMD>.
On Wed, Nov 11, 2009 at 8:47 PM, Alan Altmark <[email protected]>wrote:
> On Wednesday, 11/11/2009 at 05:54 EST, "Schuh, Richard" <[email protected]>
> wrote:
> > Might not work - FOR is a legitimate abbreviation of the CP FOrward
> command.
>
> Not any more it isn't. When FOR was introduced, the minimum abbreviation
> for FORWARD had to change to 'FORW'. (This is an example of why Good
> Programmers don't use command abbreviations in their programs.)
>
> If an ESM is present, you need not be the secuser or have class C in order
> to use FOR. CP issues a RACROUTE call to the ESM, asking if you have READ
> authority to the LOGONBY.targetuser profile in the SURROGAT class. If
> so, you can issue the FOR command.
>
> Alan Altmark
> z/VM Development
> IBM Endicott
>