Hello,
If you use rexec from two Linux, looks like the Linux side are ok.
>From the MVS side, I used this Job to test this kind of work, but my test
was from to send a command (NETSTAT in this test) from MVS to VM (OP1
machine).
Nothing needed at MVS side.
Adjust for your environment and test it:

//STP1 EXEC PGM=REXEC,REGION=512K,
// PARM='-l OP1    -p <pwop1> <target_IP>  NETSTAT HOME'
//SYSPRINT DD SYSOUT=*
//SYSTCPD  DD DSN=SYS1.PARMLIB.SHARED(DATA02),DISP=SHR

Regards, Clovis


|------------>
| From:      |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------|
  |"Jones, Russell" <[email protected]>                                   
                                                           |
  
>----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                      
                                                           |
  
>----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------|
  |09/10/2009 12:31                                                             
                                                           |
  
>----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------|
  |REXEC / RSH                                                                  
                                                           |
  
>----------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------|
  |Linux on 390 Port <[email protected]>                                  
                                                           |
  
>----------------------------------------------------------------------------------------------------------------------------------------|





Does anyone have any experience running remote linux commands from MVS
batch? I have found that MVS TSO has REXEC and RSH, but I am been
unsuccessful executing a remote command on linux. I can use rexec/rsh from
one linux system to another, but not from MVS.

Any help on using these commands, or other suggestions on how to execute
remote commands will be much appreciated.

Russell Jones
ANPAC

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

Reply via email to