On Tuesday, 01/11/2011 at 06:47 EST, Gonen Shoham <[email protected]> wrote: > I am running a REXX on cms machine using REXEC. > > The REXEC is starting OK, but when its gets to point where it needs to run > another REXEC - it ends up with RC=36. > > Any idea how to perform REXEC within REXEC ?
If you log onto the 2nd user directly, can it successfully REXEC to the 3rd user? If so, talk to the Support Center. There is nothing in the REXEC documentation about not being able to cascade REXECs. I really wouldn't expect any interference since there is no direct TCP/UDP connection between REXECD and the 2nd user. RC=36 is the initial return code set by REXEC internally before it starts running and (in theory) means that the remote side (where 3rd user is located) did a TCP RESET. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 [email protected] IBM Endicott
