On Tue, 26 Apr 2016 17:11:41 -0500, Paul Gilmartin wrote:

>On Tue, 26 Apr 2016 16:58:57 -0500, Donald Likens wrote:
>
>>I seem to remember there is a way to execute TSO commands from the windows 
>>platform but my internet searches have not been successful. Does anyone know 
>>of a way to issue TSO commands from the windows platform.
>> 
>I do this routinely from Solaris; it ought to work alike from Cygwin.
>    ssh userID@z/OS "/path/to/Rexx-command args"
>    where Rexx-command allocates SYSEXEC, etc. and does address TSO args.
>    Use .ssh for authorization.
> 
Yes, it works from Cygwin.  (IDs somewhat obfuscated):

uname -a
CYGWIN_NT-6.1 *********** 2.0.2(0.287/5/3) 2015-05-08 17:00 x86_64 Cygwin

503 $ echo time | ssh ********@mvs "set -x; exec gil/ncs_test/rtso"
********@mvs's password:  # (could come from .ssh)
+ exec gil/ncs_test/rtso
IKJ56650I TIME-04:16:51 PM. CPU-00:00:00 SERVICE-636 SESSION-00:00:00 APRIL 
26,2016
504 $

>>We are thinking about creating a client/server environment that would handle 
>>this but we do not want to create something that has already been developed.
>>
>Perhaps a cgi-bin script under HTTPD.
>
(Use browser of your choice as client.)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to