Changed at release 5.3. It used to be, and still may be to some, an abbreviation for the FORWARD command.
This is probably what broke the RSCS CRI when directing commands to other systems. The description of the FOR command exactly duplicates the symptoms now enjoyed (take that as a pejorative) by the responses sent to other systems. Regards, Richard Schuh ________________________________ From: The IBM z/VM Operating System [mailto:[email protected]] On Behalf Of Tom Huegel Sent: Wednesday, November 11, 2009 7:04 PM To: [email protected] Subject: Re: SFS and CP Question >>__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]<mailto:[email protected]>> wrote: On Wednesday, 11/11/2009 at 05:54 EST, "Schuh, Richard" <[email protected]<mailto:[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
